home *** CD-ROM | disk | FTP | other *** search
Unknown | 1994-07-14 | 46.1 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| Supported |
1%
| dexvert
| TTComp Archive (archive/ttcomp)
| fallback
| Supported |
100%
| file
| TTComp archive data, binary, 2K dictionary
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| TTComp archive compressed (bin-2K)
| default (weak)
| |
33%
| TrID
| Adobe PhotoShop Brush
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 00 01 00 00 00 1a | 00 00 00 00 00 00 00 1a |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 05 00 06 00 00 |........|........|
|00000030| 00 26 00 00 00 d0 00 00 | 00 26 41 50 49 20 00 00 |.&......|.&API ..|
|00000040| 4e 16 00 00 20 19 00 00 | 00 00 00 00 00 00 00 00 |N... ...|........|
|00000050| 00 00 0c 41 70 70 73 54 | 6f 47 6f 20 41 50 49 00 |...AppsT|oGo API.|
|00000060| 00 06 00 00 00 00 00 5e | 00 00 00 d1 00 00 00 5e |.......^|.......^|
|00000070| 00 00 00 00 01 70 00 14 | 02 6a 00 ff 00 00 00 00 |.....p..|.j......|
|00000080| 00 00 0f a8 00 00 00 00 | 4e 1d 00 00 00 09 00 00 |........|N.......|
|00000090| 00 04 00 04 ff fc ff fa | 00 04 00 04 ff fc ff fc |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 83 00 0b 40 14 6b 53 63 |........|...@.kSc|
|000000b0| 72 65 65 6e 4f 6e 65 4c | 69 6e 65 2f 31 39 39 39 |reenOneL|ine/1999|
|000000c0| 37 00 06 47 65 6e 65 76 | 61 00 00 00 00 00 00 06 |7..Genev|a.......|
|000000d0| 00 00 00 00 73 54 00 00 | 00 d2 00 00 73 54 00 00 |....sT..|....sT..|
|000000e0| 00 28 00 ce 75 30 03 a7 | 01 ff 00 00 00 00 00 00 |.(..u0..|........|
|000000f0| 0f a8 00 00 00 00 4e 1e | 00 00 00 0a 00 00 00 04 |......N.|........|
|00000100| 00 04 ff fc ff fa 00 04 | 00 04 ff fc ff fc 00 00 |........|........|
|00000110| 00 00 00 00 00 00 83 00 | 0b 40 08 54 65 78 74 45 |........|.@.TextE|
|00000120| 64 69 74 00 06 47 65 6e | 65 76 61 00 72 ec 41 50 |dit..Gen|eva.r.AP|
|00000130| 49 20 52 65 66 65 72 65 | 6e 63 65 20 66 6f 72 20 |I Refere|nce for |
|00000140| 41 70 70 73 54 6f 47 6f | 20 63 6f 6e 6e 65 63 74 |AppsToGo| connect|
|00000150| 69 6f 6e 20 41 70 70 6c | 65 45 76 65 6e 74 20 75 |ion Appl|eEvent u|
|00000160| 74 69 6c 69 74 69 65 73 | 2e 0d 41 50 49 20 52 65 |tilities|..API Re|
|00000170| 66 65 72 65 6e 63 65 20 | 66 6f 72 20 41 70 70 73 |ference |for Apps|
|00000180| 54 6f 47 6f 20 72 65 71 | 75 69 72 65 64 20 41 70 |ToGo req|uired Ap|
|00000190| 70 6c 65 45 76 65 6e 74 | 73 2e 0d 41 50 49 20 52 |pleEvent|s..API R|
|000001a0| 65 66 65 72 65 6e 63 65 | 20 66 6f 72 20 41 70 70 |eference| for App|
|000001b0| 73 54 6f 47 6f 20 41 70 | 70 6c 65 45 76 65 6e 74 |sToGo Ap|pleEvent|
|000001c0| 20 75 74 69 6c 69 74 69 | 65 73 2e 0d 41 50 49 20 | utiliti|es..API |
|000001d0| 52 65 66 65 72 65 6e 63 | 65 20 66 6f 72 20 41 70 |Referenc|e for Ap|
|000001e0| 70 73 54 6f 47 6f 20 65 | 64 69 74 2d 77 68 69 6c |psToGo e|dit-whil|
|000001f0| 65 2d 79 6f 75 2d 72 75 | 6e 20 75 74 69 6c 69 74 |e-you-ru|n utilit|
|00000200| 69 65 73 2e 0d 41 50 49 | 20 52 65 66 65 72 65 6e |ies..API| Referen|
|00000210| 63 65 20 66 6f 72 20 41 | 70 70 73 54 6f 47 6f 20 |ce for A|ppsToGo |
|00000220| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 63 61 6c 6c |applicat|ion call|
|00000230| 2d 62 61 63 6b 73 2e 0d | 41 50 49 20 52 65 66 65 |-backs..|API Refe|
|00000240| 72 65 6e 63 65 20 66 6f | 72 20 41 70 70 73 54 6f |rence fo|r AppsTo|
|00000250| 47 6f 20 41 70 70 6c 65 | 54 61 6c 6b 20 75 74 69 |Go Apple|Talk uti|
|00000260| 6c 69 74 69 65 73 2e 0d | 41 50 49 20 52 65 66 65 |lities..|API Refe|
|00000270| 72 65 6e 63 65 20 66 6f | 72 20 41 70 70 73 54 6f |rence fo|r AppsTo|
|00000280| 47 6f 20 43 6f 6c 6f 72 | 20 49 63 6f 6e 20 63 6f |Go Color| Icon co|
|00000290| 6e 74 72 6f 6c 2e 0d 41 | 50 49 20 52 65 66 65 72 |ntrol..A|PI Refer|
|000002a0| 65 6e 63 65 20 66 6f 72 | 20 41 70 70 73 54 6f 47 |ence for| AppsToG|
|000002b0| 6f 20 63 6f 6e 74 72 6f | 6c 20 68 61 6e 64 6c 65 |o contro|l handle|
|000002c0| 72 20 66 61 63 69 6c 69 | 74 79 2e 0d 41 50 49 20 |r facili|ty..API |
|000002d0| 52 65 66 65 72 65 6e 63 | 65 20 66 6f 72 20 41 70 |Referenc|e for Ap|
|000002e0| 70 73 54 6f 47 6f 20 64 | 6f 63 75 6d 65 6e 74 20 |psToGo d|ocument |
|000002f0| 66 69 6c 65 20 68 61 6e | 64 6c 69 6e 67 2e 0d 41 |file han|dling..A|
|00000300| 50 49 20 52 65 66 65 72 | 65 6e 63 65 20 66 6f 72 |PI Refer|ence for|
|00000310| 20 41 70 70 73 54 6f 47 | 6f 20 6f 66 66 73 63 72 | AppsToG|o offscr|
|00000320| 65 65 6e 20 6c 61 79 65 | 72 73 20 70 61 63 6b 61 |een laye|rs packa|
|00000330| 67 65 2e 0d 41 50 49 20 | 52 65 66 65 72 65 6e 63 |ge..API |Referenc|
|00000340| 65 20 66 6f 72 20 41 70 | 70 73 54 6f 47 6f 20 61 |e for Ap|psToGo a|
|00000350| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 6e 69 74 69 |pplicati|on initi|
|00000360| 61 6c 69 7a 61 74 69 6f | 6e 20 73 74 75 66 66 2e |alizatio|n stuff.|
|00000370| 0d 41 50 49 20 52 65 66 | 65 72 65 6e 63 65 20 66 |.API Ref|erence f|
|00000380| 6f 72 20 41 70 70 73 54 | 6f 47 6f 20 4c 69 73 74 |or AppsT|oGo List|
|00000390| 20 63 6f 6e 74 72 6f 6c | 2e 0d 41 50 49 20 52 65 | control|..API Re|
|000003a0| 66 65 72 65 6e 63 65 20 | 66 6f 72 20 41 70 70 73 |ference |for Apps|
|000003b0| 54 6f 47 6f 20 50 49 43 | 54 20 63 6f 6e 74 72 6f |ToGo PIC|T contro|
|000003c0| 6c 2e 0d 41 50 49 20 52 | 65 66 65 72 65 6e 63 65 |l..API R|eference|
|000003d0| 20 66 6f 72 20 41 70 70 | 73 54 6f 47 6f 20 50 50 | for App|sToGo PP|
|000003e0| 43 20 75 74 69 6c 69 74 | 69 65 73 2e 0d 41 50 49 |C utilit|ies..API|
|000003f0| 20 52 65 66 65 72 65 6e | 63 65 20 66 6f 72 20 41 | Referen|ce for A|
|00000400| 70 70 73 54 6f 47 6f 20 | 61 70 70 6c 69 63 61 74 |ppsToGo |applicat|
|00000410| 69 6f 6e 20 70 72 69 6e | 74 69 6e 67 20 75 74 69 |ion prin|ting uti|
|00000420| 6c 69 74 69 65 73 2e 0d | 41 50 49 20 52 65 66 65 |lities..|API Refe|
|00000430| 72 65 6e 63 65 20 66 6f | 72 20 41 70 70 73 54 6f |rence fo|r AppsTo|
|00000440| 47 6f 20 75 73 65 66 75 | 6c 20 61 6e 64 20 73 6d |Go usefu|l and sm|
|00000450| 61 6c 6c 20 73 74 72 69 | 6e 67 20 75 74 69 6c 69 |all stri|ng utili|
|00000460| 74 69 65 73 2e 0d 41 50 | 49 20 52 65 66 65 72 65 |ties..AP|I Refere|
|00000470| 6e 63 65 20 66 6f 72 20 | 41 70 70 73 54 6f 47 6f |nce for |AppsToGo|
|00000480| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|00000490| 6c 2e 0d 41 50 49 20 52 | 65 66 65 72 65 6e 63 65 |l..API R|eference|
|000004a0| 20 66 6f 72 20 41 70 70 | 73 54 6f 47 6f 20 68 69 | for App|sToGo hi|
|000004b0| 65 72 61 72 63 68 69 63 | 61 6c 20 64 6f 63 75 6d |erarchic|al docum|
|000004c0| 65 6e 74 20 70 61 63 6b | 61 67 65 2e 0d 41 50 49 |ent pack|age..API|
|000004d0| 20 52 65 66 65 72 65 6e | 63 65 20 66 6f 72 20 41 | Referen|ce for A|
|000004e0| 70 70 73 54 6f 47 6f 20 | 6f 74 68 65 72 20 75 74 |ppsToGo |other ut|
|000004f0| 69 6c 69 74 69 65 73 2e | 0d 41 50 49 20 52 65 66 |ilities.|.API Ref|
|00000500| 65 72 65 6e 63 65 20 66 | 6f 72 20 41 70 70 73 54 |erence f|or AppsT|
|00000510| 6f 47 6f 20 56 69 65 77 | 20 48 69 65 72 61 72 63 |oGo View| Hierarc|
|00000520| 68 79 20 64 65 62 75 67 | 20 66 61 63 69 6c 69 74 |hy debug| facilit|
|00000530| 79 2e 0d 41 50 49 20 52 | 65 66 65 72 65 6e 63 65 |y..API R|eference|
|00000540| 20 66 6f 72 20 41 70 70 | 73 54 6f 47 6f 20 77 69 | for App|sToGo wi|
|00000550| 6e 64 6f 77 20 6d 61 6e | 61 67 6d 65 6e 74 20 75 |ndow man|agment u|
|00000560| 74 69 6c 69 74 69 65 73 | 20 61 6e 64 20 73 74 75 |tilities| and stu|
|00000570| 66 66 2e 0d 50 72 6f 74 | 6f 74 79 70 65 20 66 6f |ff..Prot|otype fo|
|00000580| 72 20 54 65 78 74 45 64 | 69 74 43 6f 6e 74 72 6f |r TextEd|itContro|
|00000590| 6c 20 66 61 73 74 20 6b | 65 79 73 20 66 75 6e 63 |l fast k|eys func|
|000005a0| 74 69 6f 6e 2e 0d 50 72 | 6f 74 6f 74 79 70 65 20 |tion..Pr|ototype |
|000005b0| 66 6f 72 20 54 65 78 74 | 45 64 69 74 43 6f 6e 74 |for Text|EditCont|
|000005c0| 72 6f 6c 20 6b 65 79 20 | 66 69 6c 74 65 72 20 66 |rol key |filter f|
|000005d0| 75 6e 63 74 69 6f 6e 2e | 0d 50 72 6f 74 6f 74 79 |unction.|.Prototy|
|000005e0| 70 65 20 66 6f 72 20 77 | 72 69 74 69 6e 67 20 79 |pe for w|riting y|
|000005f0| 6f 75 72 20 6f 77 6e 20 | 44 6f 49 50 43 4c 69 73 |our own |DoIPCLis|
|00000600| 74 50 6f 72 74 73 20 66 | 69 6c 74 65 72 2e 0d 41 |tPorts f|ilter..A|
|00000610| 64 64 20 61 20 73 65 74 | 20 6f 66 20 63 6f 6e 74 |dd a set| of cont|
|00000620| 72 6f 6c 73 20 28 61 6e | 64 20 73 65 74 73 20 72 |rols (an|d sets r|
|00000630| 65 66 65 72 65 6e 63 65 | 64 20 62 79 20 74 68 61 |eference|d by tha|
|00000640| 74 20 73 65 74 29 20 74 | 6f 20 74 68 65 20 77 69 |t set) t|o the wi|
|00000650| 6e 64 6f 77 2e 0d 52 65 | 67 69 73 74 65 72 20 6e |ndow..Re|gister n|
|00000660| 65 74 77 6f 72 6b 20 50 | 50 43 20 61 6c 69 61 73 |etwork P|PC alias|
|00000670| 2e 0d 41 64 6a 75 73 74 | 20 74 68 65 20 64 61 74 |..Adjust| the dat|
|00000680| 61 20 73 69 7a 65 2c 20 | 67 72 65 61 74 65 72 20 |a size, |greater |
|00000690| 6f 72 20 73 6d 61 6c 6c | 65 72 2c 20 64 65 70 65 |or small|er, depe|
|000006a0| 6e 64 69 6e 67 20 6f 6e | 20 73 69 67 6e 20 6f 66 |nding on| sign of|
|000006b0| 20 27 64 65 6c 74 61 27 | 2e 0d a5 41 70 70 57 61 | 'delta'|...AppWa|
|000006c0| 6e 6e 61 62 65 20 28 57 | 69 6e 64 6f 77 2e 63 29 |nnabe (W|indow.c)|
|000006d0| 2e 20 20 43 61 6c 6c 65 | 64 20 62 79 20 66 72 61 |. Calle|d by fra|
|000006e0| 6d 65 77 6f 72 6b 20 73 | 6f 20 61 70 70 20 63 61 |mework s|o app ca|
|000006f0| 6e 20 61 64 6a 75 73 74 | 20 74 68 65 20 6d 65 6e |n adjust| the men|
|00000700| 75 73 2e 0d 4d 6f 64 69 | 66 79 20 73 63 72 6f 6c |us..Modi|fy scrol|
|00000710| 6c 62 61 72 20 76 61 6c | 75 65 73 20 74 6f 20 72 |lbar val|ues to r|
|00000720| 65 66 6c 65 63 74 20 6f | 74 68 65 72 20 77 69 6e |eflect o|ther win|
|00000730| 64 6f 77 20 63 68 61 6e | 67 65 73 2e 0d 46 69 6c |dow chan|ges..Fil|
|00000740| 74 65 72 20 6f 75 74 20 | 61 70 70 6c 69 63 61 74 |ter out |applicat|
|00000750| 69 6f 6e 73 20 6f 74 68 | 65 72 20 74 68 61 6e 20 |ions oth|er than |
|00000760| 73 65 6c 66 2e 0d 54 68 | 65 20 61 6c 65 72 74 20 |self..Th|e alert |
|00000770| 66 69 6c 74 65 72 20 6d | 61 6b 65 73 20 73 75 72 |filter m|akes sur|
|00000780| 65 20 74 68 61 74 20 74 | 68 61 74 20 74 68 65 20 |e that t|hat the |
|00000790| 6f 75 74 6c 69 6e 65 20 | 66 6f 72 20 74 68 65 20 |outline |for the |
|000007a0| 62 75 74 74 6f 6e 20 67 | 65 74 73 20 72 65 64 72 |button g|ets redr|
|000007b0| 61 77 6e 2e 0d 55 70 6f | 6e 20 61 6e 20 27 6f 64 |awn..Upo|n an 'od|
|000007c0| 6f 63 27 20 65 76 65 6e | 74 2c 20 61 75 74 6f 2d |oc' even|t, auto-|
|000007d0| 73 74 61 72 74 20 61 6e | 64 20 63 6f 6e 6e 65 63 |start an|d connec|
|000007e0| 74 20 74 6f 20 61 20 72 | 65 6d 6f 74 65 20 61 70 |t to a r|emote ap|
|000007f0| 70 6c 69 63 61 74 69 6f | 6e 2e 0d 49 6e 69 74 69 |plicatio|n..Initi|
|00000800| 61 6c 69 7a 65 20 41 54 | 55 74 69 6c 73 2e 0d 43 |alize AT|Utils..C|
|00000810| 6f 6e 76 65 72 74 20 74 | 68 65 20 74 6f 6f 2d 62 |onvert t|he too-b|
|00000820| 69 67 20 74 65 78 74 20 | 74 6f 20 61 20 50 49 43 |ig text |to a PIC|
|00000830| 54 20 73 6f 20 69 74 20 | 63 61 6e 20 62 65 20 64 |T so it |can be d|
|00000840| 69 73 70 6c 61 79 65 64 | 2e 0d 55 73 65 64 20 69 |isplayed|..Used i|
|00000850| 6e 73 74 65 61 64 20 6f | 66 20 42 65 67 69 6e 55 |nstead o|f BeginU|
|00000860| 70 64 61 74 65 20 74 6f | 20 64 72 61 77 20 74 6f |pdate to| draw to|
|00000870| 20 6a 75 73 74 20 74 68 | 65 20 63 6f 6e 74 65 6e | just th|e conten|
|00000880| 74 20 61 72 65 61 2e 0d | 55 73 65 64 20 69 6e 73 |t area..|Used ins|
|00000890| 74 65 61 64 20 6f 66 20 | 42 65 67 69 6e 55 70 64 |tead of |BeginUpd|
|000008a0| 61 74 65 20 74 6f 20 64 | 72 61 77 20 74 6f 20 6a |ate to d|raw to j|
|000008b0| 75 73 74 20 74 68 65 20 | 66 72 61 6d 65 20 61 72 |ust the |frame ar|
|000008c0| 65 61 2e 0d 43 6f 6e 76 | 65 72 74 20 74 68 65 20 |ea..Conv|ert the |
|000008d0| 63 2d 73 74 72 69 6e 67 | 20 74 6f 20 61 20 64 65 |c-string| to a de|
|000008e0| 63 69 6d 61 6c 20 6e 75 | 6d 62 65 72 2e 0d 43 6f |cimal nu|mber..Co|
|000008f0| 6e 76 65 72 74 20 74 68 | 65 20 63 2d 73 74 72 69 |nvert th|e c-stri|
|00000900| 6e 67 20 74 6f 20 61 20 | 68 65 78 20 6e 75 6d 62 |ng to a |hex numb|
|00000910| 65 72 2e 0d 43 6f 6e 76 | 65 72 74 20 74 68 65 20 |er..Conv|ert the |
|00000920| 63 2d 73 74 72 69 6e 67 | 20 74 6f 20 61 20 6e 75 |c-string| to a nu|
|00000930| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 64 65 73 69 |mber of |the desi|
|00000940| 67 6e 61 74 65 64 20 62 | 61 73 65 2e 0d 43 6f 6e |gnated b|ase..Con|
|00000950| 76 65 72 74 20 61 20 63 | 2d 73 74 72 69 6e 67 20 |vert a c|-string |
|00000960| 74 6f 20 61 20 70 61 73 | 63 61 6c 2d 73 74 72 69 |to a pas|cal-stri|
|00000970| 6e 67 2e 0d a5 41 70 70 | 57 61 6e 6e 61 62 65 20 |ng...App|Wannabe |
|00000980| 28 57 69 6e 64 6f 77 2e | 63 29 2e 20 20 43 61 6c |(Window.|c). Cal|
|00000990| 6c 65 64 20 62 79 20 66 | 72 61 6d 65 77 6f 72 6b |led by f|ramework|
|000009a0| 20 74 6f 20 63 61 6c 63 | 75 6c 61 74 65 20 74 68 | to calc|ulate th|
|000009b0| 65 20 66 72 61 6d 65 20 | 72 65 67 69 6f 6e 2e 0d |e frame |region..|
|000009c0| 43 61 74 65 6e 61 74 65 | 20 74 77 6f 20 63 2d 73 |Catenate| two c-s|
|000009d0| 74 72 69 6e 67 73 2e 0d | 43 61 74 65 6e 61 74 65 |trings..|Catenate|
|000009e0| 20 61 20 73 69 6e 67 6c | 65 20 63 68 61 72 61 63 | a singl|e charac|
|000009f0| 74 65 72 20 6d 75 6c 74 | 69 70 6c 65 20 74 69 6d |ter mult|iple tim|
|00000a00| 65 73 20 6f 6e 74 6f 20 | 74 68 65 20 64 65 73 69 |es onto |the desi|
|00000a10| 67 6e 61 74 65 64 20 73 | 74 72 69 6e 67 2e 0d 43 |gnated s|tring..C|
|00000a20| 6f 6e 76 65 72 74 20 76 | 61 6c 75 65 20 69 6e 74 |onvert v|alue int|
|00000a30| 6f 20 62 61 73 65 2d 31 | 30 20 74 65 78 74 20 61 |o base-1|0 text a|
|00000a40| 6e 64 20 63 61 74 65 6e | 61 74 65 20 69 74 20 6f |nd caten|ate it o|
|00000a50| 6e 74 6f 20 74 68 65 20 | 73 74 72 69 6e 67 2e 0d |nto the |string..|
|00000a60| 43 6f 6e 76 65 72 74 20 | 76 61 6c 75 65 20 69 6e |Convert |value in|
|00000a70| 74 6f 20 62 61 73 65 2d | 31 36 20 74 65 78 74 20 |to base-|16 text |
|00000a80| 61 6e 64 20 63 61 74 65 | 6e 61 74 65 20 69 74 20 |and cate|nate it |
|00000a90| 6f 6e 74 6f 20 74 68 65 | 20 73 74 72 69 6e 67 2c |onto the| string,|
|00000aa0| 20 77 69 74 68 20 6e 6f | 20 70 61 64 64 69 6e 67 | with no| padding|
|00000ab0| 2e 0d 43 6f 6e 76 65 72 | 74 20 76 61 6c 75 65 20 |..Conver|t value |
|00000ac0| 69 6e 74 6f 20 64 65 73 | 69 67 6e 61 74 65 64 20 |into des|ignated |
|00000ad0| 74 65 78 74 20 61 6e 64 | 20 63 61 74 65 6e 61 74 |text and| catenat|
|00000ae0| 65 20 69 74 20 6f 6e 74 | 6f 20 74 68 65 20 73 74 |e it ont|o the st|
|00000af0| 72 69 6e 67 2c 20 77 69 | 74 68 20 6e 6f 20 70 61 |ring, wi|th no pa|
|00000b00| 64 64 69 6e 67 2e 0d 43 | 6f 6e 76 65 72 74 20 76 |dding..C|onvert v|
|00000b10| 61 6c 75 65 20 69 6e 74 | 6f 20 62 61 73 65 2d 31 |alue int|o base-1|
|00000b20| 30 20 74 65 78 74 20 61 | 6e 64 20 63 61 74 65 6e |0 text a|nd caten|
|00000b30| 61 74 65 20 69 74 20 6f | 6e 74 6f 20 74 68 65 20 |ate it o|nto the |
|00000b40| 73 74 72 69 6e 67 2c 20 | 77 69 74 68 20 70 61 64 |string, |with pad|
|00000b50| 64 69 6e 67 2e 0d 43 6f | 6e 76 65 72 74 20 76 61 |ding..Co|nvert va|
|00000b60| 6c 75 65 20 69 6e 74 6f | 20 62 61 73 65 2d 31 36 |lue into| base-16|
|00000b70| 20 74 65 78 74 20 61 6e | 64 20 63 61 74 65 6e 61 | text an|d catena|
|00000b80| 74 65 20 69 74 20 6f 6e | 74 6f 20 74 68 65 20 73 |te it on|to the s|
|00000b90| 74 72 69 6e 67 2c 20 77 | 69 74 68 20 70 61 64 64 |tring, w|ith padd|
|00000ba0| 69 6e 67 2e 0d 43 6f 6e | 76 65 72 74 20 76 61 6c |ing..Con|vert val|
|00000bb0| 75 65 20 69 6e 74 6f 20 | 64 65 73 69 67 6e 61 74 |ue into |designat|
|00000bc0| 65 64 20 62 61 73 65 20 | 74 65 78 74 20 61 6e 64 |ed base |text and|
|00000bd0| 20 63 61 74 65 6e 61 74 | 65 20 69 74 20 6f 6e 74 | catenat|e it ont|
|00000be0| 6f 20 74 68 65 20 73 74 | 72 69 6e 67 2c 20 77 69 |o the st|ring, wi|
|00000bf0| 74 68 20 70 61 64 64 69 | 6e 67 2e 0d 43 72 65 61 |th paddi|ng..Crea|
|00000c00| 74 65 20 61 20 6e 65 77 | 20 27 63 69 63 6e 27 20 |te a new| 'cicn' |
|00000c10| 63 6f 6e 74 72 6f 6c 2e | 0d 49 74 65 72 61 74 65 |control.|.Iterate|
|00000c20| 20 74 6f 20 74 68 65 20 | 27 6e 65 78 74 27 20 63 | to the |'next' c|
|00000c30| 69 63 6e 20 63 6f 6e 74 | 72 6f 6c 2e 0d 43 6f 70 |icn cont|rol..Cop|
|00000c40| 79 20 61 20 63 2d 73 74 | 72 69 6e 67 2e 0d 43 6f |y a c-st|ring..Co|
|00000c50| 70 79 20 61 20 73 69 6e | 67 6c 65 20 63 68 61 72 |py a sin|gle char|
|00000c60| 61 63 74 65 72 20 6d 75 | 6c 74 69 70 6c 65 20 74 |acter mu|ltiple t|
|00000c70| 69 6d 65 73 20 69 6e 74 | 6f 20 74 68 65 20 64 65 |imes int|o the de|
|00000c80| 73 69 67 6e 61 74 65 64 | 20 73 74 72 69 6e 67 2e |signated| string.|
|00000c90| 0d 43 6f 6e 76 65 72 74 | 20 76 61 6c 75 65 20 69 |.Convert| value i|
|00000ca0| 6e 74 6f 20 62 61 73 65 | 2d 31 30 20 74 65 78 74 |nto base|-10 text|
|00000cb0| 20 61 6e 64 20 63 6f 70 | 79 20 69 74 20 69 6e 74 | and cop|y it int|
|00000cc0| 6f 20 74 68 65 20 73 74 | 72 69 6e 67 2e 0d 43 6f |o the st|ring..Co|
|00000cd0| 6e 76 65 72 74 20 76 61 | 6c 75 65 20 69 6e 74 6f |nvert va|lue into|
|00000ce0| 20 62 61 73 65 2d 31 36 | 20 74 65 78 74 20 61 6e | base-16| text an|
|00000cf0| 64 20 63 6f 70 79 20 69 | 74 20 69 6e 74 6f 20 74 |d copy i|t into t|
|00000d00| 68 65 20 73 74 72 69 6e | 67 2c 20 77 69 74 68 20 |he strin|g, with |
|00000d10| 6e 6f 20 70 61 64 64 69 | 6e 67 2e 0d 43 6f 6e 76 |no paddi|ng..Conv|
|00000d20| 65 72 74 20 76 61 6c 75 | 65 20 69 6e 74 6f 20 64 |ert valu|e into d|
|00000d30| 65 73 69 67 6e 61 74 65 | 64 20 74 65 78 74 20 61 |esignate|d text a|
|00000d40| 6e 64 20 63 6f 70 79 20 | 69 74 20 69 6e 74 6f 20 |nd copy |it into |
|00000d50| 74 68 65 20 73 74 72 69 | 6e 67 2c 20 77 69 74 68 |the stri|ng, with|
|00000d60| 20 6e 6f 20 70 61 64 64 | 69 6e 67 2e 0d 43 6f 6e | no padd|ing..Con|
|00000d70| 76 65 72 74 20 76 61 6c | 75 65 20 69 6e 74 6f 20 |vert val|ue into |
|00000d80| 62 61 73 65 2d 31 30 20 | 74 65 78 74 20 61 6e 64 |base-10 |text and|
|00000d90| 20 63 6f 70 79 20 69 74 | 20 69 6e 74 6f 20 74 68 | copy it| into th|
|00000da0| 65 20 73 74 72 69 6e 67 | 2c 20 77 69 74 68 20 70 |e string|, with p|
|00000db0| 61 64 64 69 6e 67 2e 0d | 43 6f 6e 76 65 72 74 20 |adding..|Convert |
|00000dc0| 76 61 6c 75 65 20 69 6e | 74 6f 20 62 61 73 65 2d |value in|to base-|
|00000dd0| 31 36 20 74 65 78 74 20 | 61 6e 64 20 63 6f 70 79 |16 text |and copy|
|00000de0| 20 69 74 20 69 6e 74 6f | 20 74 68 65 20 73 74 72 | it into| the str|
|00000df0| 69 6e 67 2c 20 77 69 74 | 68 20 70 61 64 64 69 6e |ing, wit|h paddin|
|00000e00| 67 2e 0d 43 6f 6e 76 65 | 72 74 20 76 61 6c 75 65 |g..Conve|rt value|
|00000e10| 20 69 6e 74 6f 20 64 65 | 73 69 67 6e 61 74 65 64 | into de|signated|
|00000e20| 20 62 61 73 65 20 74 65 | 78 74 20 61 6e 64 20 63 | base te|xt and c|
|00000e30| 6f 70 79 20 69 74 20 69 | 6e 74 6f 20 74 68 65 20 |opy it i|nto the |
|00000e40| 73 74 72 69 6e 67 2c 20 | 77 69 74 68 20 70 61 64 |string, |with pad|
|00000e50| 64 69 6e 67 2e 0d 49 74 | 65 72 61 74 65 20 74 6f |ding..It|erate to|
|00000e60| 20 74 68 65 20 6e 65 78 | 74 20 64 61 74 61 20 63 | the nex|t data c|
|00000e70| 6f 6e 74 72 6f 6c 2e 0d | 43 65 6e 74 65 72 20 74 |ontrol..|Center t|
|00000e80| 68 65 20 61 6c 65 72 74 | 20 6f 6e 20 74 68 65 20 |he alert| on the |
|00000e90| 73 61 6d 65 20 64 65 76 | 69 63 65 20 61 73 20 74 |same dev|ice as t|
|00000ea0| 68 65 20 72 65 6c 61 74 | 65 64 20 77 69 6e 64 6f |he relat|ed windo|
|00000eb0| 77 2e 0d 47 69 76 65 6e | 20 74 77 6f 20 72 65 63 |w..Given| two rec|
|00000ec0| 74 61 6e 67 6c 65 73 2c | 20 74 68 69 73 20 72 6f |tangles,| this ro|
|00000ed0| 75 74 69 6e 65 20 63 65 | 6e 74 65 72 73 20 74 68 |utine ce|nters th|
|00000ee0| 65 20 73 65 63 6f 6e 64 | 20 6f 6e 65 20 77 69 74 |e second| one wit|
|00000ef0| 68 69 6e 20 74 68 65 20 | 66 69 72 73 74 2e 0d 43 |hin the |first..C|
|00000f00| 65 6e 74 65 72 20 74 68 | 65 20 77 69 6e 64 6f 77 |enter th|e window|
|00000f10| 20 6f 6e 20 74 68 65 20 | 73 61 6d 65 20 64 65 76 | on the |same dev|
|00000f20| 69 63 65 20 61 73 20 74 | 68 65 20 72 65 6c 61 74 |ice as t|he relat|
|00000f30| 65 64 20 77 69 6e 64 6f | 77 2e 0d 43 68 61 6e 67 |ed windo|w..Chang|
|00000f40| 65 20 61 63 74 69 76 61 | 74 65 20 73 74 61 74 65 |e activa|te state|
|00000f50| 20 6f 66 20 6c 69 73 74 | 20 63 6f 6e 74 72 6f 6c | of list| control|
|00000f60| 20 74 6f 20 64 65 73 69 | 67 6e 61 74 65 64 20 73 | to desi|gnated s|
|00000f70| 74 61 74 65 2e 0d 48 61 | 6e 64 6c 65 20 61 20 6d |tate..Ha|ndle a m|
|00000f80| 6f 75 73 65 44 6f 77 6e | 20 66 6f 72 20 61 20 6c |ouseDown| for a l|
|00000f90| 69 73 74 20 63 6f 6e 74 | 72 6f 6c 2e 0d 52 65 74 |ist cont|rol..Ret|
|00000fa0| 75 72 6e 20 4c 69 73 74 | 20 63 6f 6e 74 72 6f 6c |urn List| control|
|00000fb0| 20 74 68 61 74 20 77 61 | 73 20 66 6f 75 6e 64 20 | that wa|s found |
|00000fc0| 62 79 20 6c 61 73 74 20 | 63 61 6c 6c 20 74 6f 20 |by last |call to |
|00000fd0| 46 69 6e 64 43 6f 6e 74 | 72 6f 6c 2e 0d 41 20 62 |FindCont|rol..A b|
|00000fe0| 65 74 74 65 72 20 53 65 | 6e 64 42 65 68 69 6e 64 |etter Se|ndBehind|
|00000ff0| 2c 20 77 68 69 63 68 20 | 69 73 20 6e 65 65 64 65 |, which |is neede|
|00001000| 64 20 66 6f 72 20 66 6c | 6f 61 74 69 6e 67 20 70 |d for fl|oating p|
|00001010| 61 6c 65 74 74 65 73 2c | 20 65 74 63 2e 0d 42 72 |alettes,| etc..Br|
|00001020| 69 6e 67 20 61 20 77 69 | 6e 64 6f 77 20 69 6e 20 |ing a wi|ndow in |
|00001030| 66 72 6f 6e 74 20 6f 66 | 20 61 6e 6f 74 68 65 72 |front of| another|
|00001040| 2c 20 77 68 69 6c 65 20 | 68 61 6e 64 6c 69 6e 67 |, while |handling|
|00001050| 20 66 6c 6f 61 74 69 6e | 67 20 70 61 6c 65 74 74 | floatin|g palett|
|00001060| 65 73 2c 20 65 74 63 2e | 0d 52 65 74 75 72 6e 20 |es, etc.|.Return |
|00001070| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 74 68 |the leng|th of th|
|00001080| 65 20 63 2d 73 74 72 69 | 6e 67 2e 0d 48 61 6e 64 |e c-stri|ng..Hand|
|00001090| 6c 65 20 74 68 65 20 65 | 76 65 6e 74 20 69 66 20 |le the e|vent if |
|000010a0| 69 74 20 61 70 70 6c 69 | 65 73 20 74 6f 20 74 68 |it appli|es to th|
|000010b0| 65 20 61 63 74 69 76 65 | 20 4c 69 73 74 20 63 6f |e active| List co|
|000010c0| 6e 74 72 6f 6c 2e 0d 52 | 65 74 75 72 6e 73 20 74 |ntrol..R|eturns t|
|000010d0| 68 65 20 61 63 74 69 76 | 65 20 4c 69 73 74 20 63 |he activ|e List c|
|000010e0| 6f 6e 74 72 6f 6c 2c 20 | 69 66 20 61 6e 79 2e 0d |ontrol, |if any..|
|000010f0| 53 65 65 20 69 66 20 61 | 20 4c 69 73 74 20 63 6f |See if a| List co|
|00001100| 6e 74 72 6f 6c 20 6f 72 | 20 72 65 6c 61 74 65 64 |ntrol or| related|
|00001110| 20 73 63 72 6f 6c 6c 62 | 61 72 20 77 61 73 20 63 | scrollb|ar was c|
|00001120| 6c 69 63 6b 65 64 20 6f | 6e 2e 0d 46 69 6e 64 20 |licked o|n..Find |
|00001130| 74 68 65 20 4c 69 73 74 | 20 72 65 63 6f 72 64 20 |the List| record |
|00001140| 74 68 61 74 20 69 73 20 | 72 65 6c 61 74 65 64 20 |that is |related |
|00001150| 74 6f 20 74 68 65 20 69 | 6e 64 69 63 61 74 65 64 |to the i|ndicated|
|00001160| 20 73 63 72 6f 6c 6c 62 | 61 72 2e 0d 47 65 74 20 | scrollb|ar..Get |
|00001170| 74 68 65 20 4e 74 68 20 | 4c 69 73 74 20 63 6f 6e |the Nth |List con|
|00001180| 74 72 6f 6c 20 69 6e 20 | 74 68 65 20 63 6f 6e 74 |trol in |the cont|
|00001190| 72 6f 6c 20 6c 69 73 74 | 20 6f 66 20 61 20 77 69 |rol list| of a wi|
|000011a0| 6e 64 6f 77 2e 0d 48 69 | 64 65 20 74 68 65 20 63 |ndow..Hi|de the c|
|000011b0| 6f 6e 74 72 6f 6c 20 61 | 6e 64 20 72 65 6c 61 74 |ontrol a|nd relat|
|000011c0| 65 64 20 74 68 69 6e 67 | 73 2e 0d 49 6e 73 65 72 |ed thing|s..Inser|
|000011d0| 74 20 61 20 63 65 6c 6c | 20 61 6c 70 68 61 62 65 |t a cell| alphabe|
|000011e0| 74 69 63 61 6c 6c 79 20 | 69 6e 74 6f 20 74 68 65 |tically |into the|
|000011f0| 20 6c 69 73 74 2e 0d 48 | 61 6e 64 6c 65 20 61 20 | list..H|andle a |
|00001200| 6b 65 79 70 72 65 73 73 | 20 66 6f 72 20 61 20 6c |keypress| for a l|
|00001210| 69 73 74 20 63 6f 6e 74 | 72 6f 6c 2e 0d 4d 6f 76 |ist cont|rol..Mov|
|00001220| 65 20 74 68 65 20 63 6f | 6e 74 72 6f 6c 20 61 6e |e the co|ntrol an|
|00001230| 64 20 72 65 6c 61 74 65 | 64 20 74 68 69 6e 67 73 |d relate|d things|
|00001240| 2e 0d 43 72 65 61 74 65 | 20 61 20 4c 69 73 74 20 |..Create| a List |
|00001250| 63 6f 6e 74 72 6f 6c 20 | 66 6f 72 20 74 68 65 20 |control |for the |
|00001260| 77 69 6e 64 6f 77 2e 0d | 47 65 74 20 74 68 65 20 |window..|Get the |
|00001270| 6e 65 78 74 20 4c 69 73 | 74 20 63 6f 6e 74 72 6f |next Lis|t contro|
|00001280| 6c 20 69 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |l in the| window.|
|00001290| 0d 43 6c 6f 73 65 73 20 | 74 68 65 20 69 6e 64 69 |.Closes |the indi|
|000012a0| 63 61 74 65 64 20 77 69 | 6e 64 6f 77 2e 20 20 41 |cated wi|ndow. A|
|000012b0| 6c 73 6f 20 68 61 6e 64 | 6c 65 73 20 69 66 20 74 |lso hand|les if t|
|000012c0| 68 65 20 77 69 6e 64 6f | 77 20 69 73 20 61 20 44 |he windo|w is a D|
|000012d0| 41 20 77 69 6e 64 6f 77 | 2e 0d 43 6c 6f 73 65 20 |A window|..Close |
|000012e0| 64 6f 63 75 6d 65 6e 74 | 20 72 65 73 20 66 69 6c |document| res fil|
|000012f0| 65 2e 0d 50 72 69 6e 74 | 20 4c 69 73 74 20 43 6f |e..Print| List Co|
|00001300| 6e 74 72 6f 6c 20 63 65 | 6c 6c 73 20 69 6e 74 6f |ntrol ce|lls into|
|00001310| 20 74 68 65 20 64 65 73 | 69 67 6e 61 74 65 64 20 | the des|ignated |
|00001320| 72 65 63 74 61 6e 67 6c | 65 2e 0d 46 69 6e 64 20 |rectangl|e..Find |
|00001330| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 20 69 6e 20 |the loca|tion in |
|00001340| 74 68 65 20 6c 69 73 74 | 20 77 68 65 72 65 20 74 |the list| where t|
|00001350| 68 65 20 64 61 74 61 20 | 77 6f 75 6c 64 20 62 65 |he data |would be|
|00001360| 6c 6f 6e 67 20 69 66 20 | 69 6e 73 65 72 74 65 64 |long if |inserted|
|00001370| 2e 0d 53 68 6f 77 20 74 | 68 65 20 63 6f 6e 74 72 |..Show t|he contr|
|00001380| 6f 6c 20 61 6e 64 20 72 | 65 6c 61 74 65 64 20 74 |ol and r|elated t|
|00001390| 68 69 6e 67 73 2e 0d 52 | 65 73 69 7a 65 20 74 68 |hings..R|esize th|
|000013a0| 65 20 63 6f 6e 74 72 6f | 6c 20 61 6e 64 20 72 65 |e contro|l and re|
|000013b0| 6c 61 74 65 64 20 74 68 | 69 6e 67 73 2e 0d 44 72 |lated th|ings..Dr|
|000013c0| 61 77 20 74 68 65 20 4c | 69 73 74 20 63 6f 6e 74 |aw the L|ist cont|
|000013d0| 72 6f 6c 20 69 6e 20 74 | 68 65 20 63 6f 72 72 65 |rol in t|he corre|
|000013e0| 63 74 20 6d 6f 64 65 2e | 0d 41 64 64 20 61 20 63 |ct mode.|.Add a c|
|000013f0| 6f 6c 75 6d 6e 20 74 6f | 20 61 20 76 61 72 69 61 |olumn to| a varia|
|00001400| 62 6c 65 2d 73 69 7a 65 | 20 63 65 6c 6c 2e 0d 41 |ble-size| cell..A|
|00001410| 64 64 20 61 20 72 6f 77 | 20 74 6f 20 61 20 76 61 |dd a row| to a va|
|00001420| 72 69 61 62 6c 65 2d 73 | 69 7a 65 20 63 65 6c 6c |riable-s|ize cell|
|00001430| 2e 0d 41 64 6a 75 73 74 | 20 74 68 65 20 73 63 72 |..Adjust| the scr|
|00001440| 6f 6c 6c 62 61 72 73 20 | 74 6f 20 72 65 66 6c 65 |ollbars |to refle|
|00001450| 63 74 20 6e 65 77 20 6c | 69 73 74 20 73 69 7a 65 |ct new l|ist size|
|00001460| 2e 0d 43 61 6c 6c 73 20 | 74 68 65 20 76 61 72 69 |..Calls |the vari|
|00001470| 61 62 6c 65 2d 63 65 6c | 6c 2d 73 69 7a 65 20 6c |able-cel|l-size l|
|00001480| 69 73 74 27 73 20 4c 44 | 45 46 2e 0d 48 61 6e 64 |ist's LD|EF..Hand|
|00001490| 6c 65 20 61 20 6d 6f 75 | 73 65 44 6f 77 6e 20 66 |le a mou|seDown f|
|000014a0| 6f 72 20 61 20 76 61 72 | 69 61 62 6c 65 2d 63 65 |or a var|iable-ce|
|000014b0| 6c 6c 2d 73 69 7a 65 20 | 6c 69 73 74 20 63 6f 6e |ll-size |list con|
|000014c0| 74 72 6f 6c 2e 0d 44 72 | 61 77 20 61 20 73 69 6e |trol..Dr|aw a sin|
|000014d0| 67 6c 65 20 76 61 72 69 | 61 62 6c 65 2d 73 69 7a |gle vari|able-siz|
|000014e0| 65 20 63 65 6c 6c 2e 0d | 47 69 76 65 6e 20 61 20 |e cell..|Given a |
|000014f0| 6d 6f 75 73 65 20 6c 6f | 63 61 74 69 6f 6e 2c 20 |mouse lo|cation, |
|00001500| 66 69 6e 64 20 74 68 65 | 20 63 65 6c 6c 20 74 68 |find the| cell th|
|00001510| 61 74 20 63 6f 6e 74 61 | 69 6e 73 20 69 74 2e 0d |at conta|ins it..|
|00001520| 47 65 74 20 70 6c 65 6e | 74 79 20 6f 66 20 69 6e |Get plen|ty of in|
|00001530| 66 6f 72 6d 61 74 69 6f | 6e 20 6f 6e 20 61 20 70 |formatio|n on a p|
|00001540| 61 72 74 69 63 75 6c 61 | 72 20 63 65 6c 6c 2e 0d |articula|r cell..|
|00001550| 47 69 76 65 6e 20 61 20 | 63 65 6c 6c 20 78 78 2c |Given a |cell xx,|
|00001560| 79 79 2c 20 72 65 74 75 | 72 6e 20 69 74 73 20 62 |yy, retu|rn its b|
|00001570| 6f 75 6e 64 69 6e 67 20 | 72 65 63 74 2e 0d 47 65 |ounding |rect..Ge|
|00001580| 74 20 74 68 65 20 62 6f | 75 6e 64 69 6e 67 20 72 |t the bo|unding r|
|00001590| 65 63 74 20 6f 66 20 74 | 68 65 20 63 65 6c 6c 73 |ect of t|he cells|
|000015a0| 20 76 69 73 69 62 6c 65 | 20 77 69 74 68 69 6e 20 | visible| within |
|000015b0| 74 68 65 20 43 6f 6e 74 | 72 6f 6c 27 73 20 76 69 |the Cont|rol's vi|
|000015c0| 65 77 20 72 65 63 74 2e | 0d 47 69 76 65 6e 20 61 |ew rect.|.Given a|
|000015d0| 20 6c 69 73 74 2c 20 72 | 65 74 75 72 6e 20 74 68 | list, r|eturn th|
|000015e0| 65 20 72 65 6c 61 74 65 | 64 20 77 72 61 70 70 65 |e relate|d wrappe|
|000015f0| 72 20 63 6f 6e 74 72 6f | 6c 2e 0d 49 6e 69 74 69 |r contro|l..Initi|
|00001600| 61 6c 69 7a 65 20 76 61 | 72 69 61 62 6c 65 2d 73 |alize va|riable-s|
|00001610| 69 7a 65 64 20 63 65 6c | 6c 73 20 4c 69 73 74 20 |ized cel|ls List |
|00001620| 63 6f 6e 74 72 6f 6c 20 | 63 6f 64 65 2e 0d 53 65 |control |code..Se|
|00001630| 74 20 74 68 65 20 73 65 | 6c 65 63 74 20 73 74 61 |t the se|lect sta|
|00001640| 74 65 20 66 6f 72 20 61 | 20 76 61 72 69 61 62 6c |te for a| variabl|
|00001650| 65 2d 73 69 7a 65 20 63 | 65 6c 6c 2e 0d 44 72 61 |e-size c|ell..Dra|
|00001660| 77 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 2d 63 |w the va|riable-c|
|00001670| 65 6c 6c 2d 73 69 7a 65 | 20 6c 69 73 74 20 63 6f |ell-size| list co|
|00001680| 6e 74 72 6f 6c 20 69 6e | 20 74 68 65 20 63 6f 72 |ntrol in| the cor|
|00001690| 72 65 63 74 20 6d 6f 64 | 65 2e 0d 43 6f 6e 76 65 |rect mod|e..Conve|
|000016a0| 72 74 20 61 20 4c 69 73 | 74 20 63 6f 6e 74 72 6f |rt a Lis|t contro|
|000016b0| 6c 20 74 6f 20 6f 6e 65 | 20 74 68 61 74 20 68 61 |l to one| that ha|
|000016c0| 73 20 76 61 72 69 61 62 | 6c 65 20 73 69 7a 65 20 |s variab|le size |
|000016d0| 72 6f 77 73 20 61 6e 64 | 20 63 6f 6c 75 6d 6e 73 |rows and| columns|
|000016e0| 2e 0d 47 69 76 65 6e 20 | 61 20 6c 69 73 74 2c 20 |..Given |a list, |
|000016f0| 72 65 74 75 72 6e 20 74 | 68 65 20 72 65 6c 61 74 |return t|he relat|
|00001700| 65 64 20 77 72 61 70 70 | 65 72 20 63 6f 6e 74 72 |ed wrapp|er contr|
|00001710| 6f 6c 2e 0d 43 6f 6e 76 | 65 72 74 20 61 20 63 6f |ol..Conv|ert a co|
|00001720| 6e 74 72 6f 6c 20 6e 75 | 6d 62 65 72 20 74 6f 20 |ntrol nu|mber to |
|00001730| 61 20 63 6f 6e 74 72 6f | 6c 20 68 61 6e 64 6c 65 |a contro|l handle|
|00001740| 2e 0d a5 41 70 70 57 61 | 6e 6e 61 62 65 20 28 57 |...AppWa|nnabe (W|
|00001750| 69 6e 64 6f 77 2e 63 29 | 2e 20 20 43 61 6c 6c 65 |indow.c)|. Calle|
|00001760| 64 20 62 79 20 66 72 61 | 6d 65 77 6f 72 6b 20 74 |d by fra|mework t|
|00001770| 6f 20 6c 65 74 20 61 70 | 70 20 68 61 6e 64 6c 65 |o let ap|p handle|
|00001780| 20 63 6f 6e 74 65 6e 74 | 20 63 6c 69 63 6b 2e 0d | content| click..|
|00001790| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|000017a0| 64 6f 77 2e 63 29 2e 20 | 20 43 61 6c 6c 65 64 20 |dow.c). | Called |
|000017b0| 62 79 20 66 72 61 6d 65 | 77 6f 72 6b 20 74 6f 20 |by frame|work to |
|000017c0| 6c 65 74 20 61 70 70 20 | 68 61 6e 64 6c 65 20 6b |let app |handle k|
|000017d0| 65 79 70 72 65 73 73 2e | 0d 48 61 6e 64 6c 65 20 |eypress.|.Handle |
|000017e0| 62 61 6c 6c 6f 6f 6e 20 | 68 65 6c 70 20 66 6f 72 |balloon |help for|
|000017f0| 20 63 6f 6e 74 72 6f 6c | 73 2e 0d 47 65 74 20 74 | control|s..Get t|
|00001800| 68 65 20 62 61 6c 6c 6f | 6f 6e 20 68 65 6c 70 20 |he ballo|on help |
|00001810| 72 65 63 6f 72 64 20 66 | 6f 72 20 61 20 63 6f 6e |record f|or a con|
|00001820| 74 72 6f 6c 2e 0d 44 65 | 74 65 72 6d 69 6e 65 20 |trol..De|termine |
|00001830| 69 66 20 61 20 6b 65 79 | 70 72 65 73 73 20 69 73 |if a key|press is|
|00001840| 20 61 20 6b 65 79 20 65 | 71 75 69 76 61 6c 65 6e | a key e|quivalen|
|00001850| 74 20 66 6f 72 20 61 6e | 79 20 63 6f 6e 74 72 6f |t for an|y contro|
|00001860| 6c 20 69 6e 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |l in the| window.|
|00001870| 0d 43 6f 6e 76 65 72 74 | 20 70 72 65 2d 73 79 73 |.Convert| pre-sys|
|00001880| 74 65 6d 2d 37 20 73 74 | 61 6e 64 61 72 64 20 66 |tem-7 st|andard f|
|00001890| 69 6c 65 20 72 65 63 6f | 72 64 20 74 6f 20 61 20 |ile reco|rd to a |
|000018a0| 73 79 73 74 65 6d 2d 37 | 20 72 65 63 6f 72 64 2e |system-7| record.|
|000018b0| 0d 43 6f 70 69 65 73 20 | 73 70 65 63 69 66 69 65 |.Copies |specifie|
|000018c0| 64 20 63 68 69 6c 64 20 | 28 61 6e 64 20 61 6c 6c |d child |(and all|
|000018d0| 20 6f 66 66 73 70 72 69 | 6e 67 20 6f 66 20 74 68 | offspri|ng of th|
|000018e0| 61 74 20 63 68 69 6c 64 | 2c 20 69 66 20 64 65 73 |at child|, if des|
|000018f0| 69 72 65 64 29 2e 0d 43 | 6f 70 79 20 74 68 65 20 |ired)..C|opy the |
|00001900| 63 68 69 6c 64 72 65 6e | 20 28 61 6e 64 20 74 68 |children| (and th|
|00001910| 65 69 72 20 63 68 69 6c | 64 72 65 6e 29 20 6f 66 |eir chil|dren) of|
|00001920| 20 6f 6e 65 20 6f 62 6a | 65 63 74 20 74 6f 20 61 | one obj|ect to a|
|00001930| 6e 6f 74 68 65 72 2e 0d | 52 65 74 75 72 6e 20 74 |nother..|Return t|
|00001940| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6d 65 6e |he numbe|r of men|
|00001950| 75 20 73 65 63 74 69 6f | 6e 73 20 69 6e 20 61 20 |u sectio|ns in a |
|00001960| 6d 65 6e 75 2e 0d 43 72 | 65 61 74 65 20 61 20 6e |menu..Cr|eate a n|
|00001970| 65 77 20 27 50 49 43 54 | 27 20 63 6f 6e 74 72 6f |ew 'PICT|' contro|
|00001980| 6c 2e 0d 49 74 65 72 61 | 74 65 20 74 6f 20 74 68 |l..Itera|te to th|
|00001990| 65 20 27 6e 65 78 74 27 | 20 50 49 43 54 20 63 6f |e 'next'| PICT co|
|000019a0| 6e 74 72 6f 6c 2e 0d 41 | 63 74 69 76 61 74 65 20 |ntrol..A|ctivate |
|000019b0| 74 68 65 20 69 6e 64 69 | 63 61 74 65 64 20 54 65 |the indi|cated Te|
|000019c0| 78 74 45 64 69 74 20 72 | 65 63 6f 72 64 20 28 61 |xtEdit r|ecord (a|
|000019d0| 6e 64 20 64 65 61 63 74 | 69 76 61 74 65 20 61 6e |nd deact|ivate an|
|000019e0| 79 20 6f 74 68 65 72 20 | 61 63 74 69 76 65 20 6f |y other |active o|
|000019f0| 6e 65 29 2e 0d 41 64 6a | 75 73 74 20 74 68 65 20 |ne)..Adj|ust the |
|00001a00| 73 63 72 6f 6c 6c 62 61 | 72 20 76 61 6c 75 65 73 |scrollba|r values|
|00001a10| 20 74 6f 20 74 68 65 20 | 54 65 78 74 45 64 69 74 | to the |TextEdit|
|00001a20| 20 6c 65 6e 67 74 68 20 | 61 6e 64 20 73 63 72 6f | length |and scro|
|00001a30| 6c 6c 20 70 6f 73 69 74 | 69 6f 6e 2e 0d 41 64 6a |ll posit|ion..Adj|
|00001a40| 75 73 74 20 74 68 65 20 | 62 6f 74 74 6f 6d 20 6f |ust the |bottom o|
|00001a50| 66 20 74 68 65 20 54 65 | 78 74 45 64 69 74 20 72 |f the Te|xtEdit r|
|00001a60| 65 63 6f 72 64 20 74 6f | 20 72 65 6d 6f 76 65 20 |ecord to| remove |
|00001a70| 65 78 74 72 61 20 77 68 | 69 74 65 20 73 70 61 63 |extra wh|ite spac|
|00001a80| 65 2e 0d 48 61 6e 64 6c | 65 73 20 61 20 6d 6f 75 |e..Handl|es a mou|
|00001a90| 73 65 44 6f 77 6e 20 69 | 6e 20 74 68 65 20 63 6f |seDown i|n the co|
|00001aa0| 6e 74 65 6e 74 20 6f 66 | 20 61 20 77 69 6e 64 6f |ntent of| a windo|
|00001ab0| 77 2e 0d 55 74 69 6c 69 | 74 79 20 66 75 6e 63 74 |w..Utili|ty funct|
|00001ac0| 69 6f 6e 20 66 6f 72 20 | 54 65 78 74 45 64 69 74 |ion for |TextEdit|
|00001ad0| 20 63 6f 6e 74 72 6f 6c | 2e 0d 48 61 6e 64 6c 65 | control|..Handle|
|00001ae0| 73 20 63 75 74 2d 63 6f | 70 79 2d 70 61 73 74 65 |s cut-co|py-paste|
|00001af0| 2d 63 6c 65 61 72 20 66 | 6f 72 20 74 68 65 20 63 |-clear f|or the c|
|00001b00| 75 72 72 65 6e 74 6c 79 | 20 61 63 74 69 76 65 20 |urrently| active |
|00001b10| 54 65 78 74 45 64 69 74 | 20 63 6f 6e 74 72 6f 6c |TextEdit| control|
|00001b20| 2e 0d 54 68 69 73 20 69 | 73 20 61 6e 20 65 6d 70 |..This i|s an emp|
|00001b30| 74 79 20 66 75 6e 63 74 | 69 6f 6e 2c 20 75 73 65 |ty funct|ion, use|
|00001b40| 64 20 66 6f 72 20 62 61 | 63 6b 77 61 72 64 2d 63 |d for ba|ckward-c|
|00001b50| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 2e 0d 52 65 |ompatibi|lity..Re|
|00001b60| 74 75 72 6e 73 20 74 68 | 65 20 63 6f 6e 74 72 6f |turns th|e contro|
|00001b70| 6c 20 74 68 61 74 20 77 | 61 73 20 68 69 74 20 28 |l that w|as hit (|
|00001b80| 69 66 20 61 6e 79 29 20 | 62 79 20 46 69 6e 64 43 |if any) |by FindC|
|00001b90| 6f 6e 74 72 6f 6c 2e 0d | 44 69 73 70 6f 73 65 73 |ontrol..|Disposes|
|00001ba0| 20 74 68 65 20 54 45 52 | 65 63 6f 72 64 2c 20 54 | the TER|ecord, T|
|00001bb0| 65 78 74 45 64 69 74 20 | 63 6f 6e 74 72 6f 6c 2c |extEdit |control,|
|00001bc0| 20 61 6e 64 20 61 6e 79 | 20 72 65 6c 61 74 65 64 | and any| related|
|00001bd0| 20 73 63 72 6f 6c 6c 62 | 61 72 73 2e 0d 44 69 73 | scrollb|ars..Dis|
|00001be0| 70 6f 73 65 20 74 68 65 | 20 76 69 65 77 20 63 6f |pose the| view co|
|00001bf0| 6e 74 72 6f 6c 20 61 6e | 64 20 72 65 6c 61 74 65 |ntrol an|d relate|
|00001c00| 64 20 73 63 72 6f 6c 6c | 62 61 72 73 2c 20 62 75 |d scroll|bars, bu|
|00001c10| 74 20 6e 6f 74 20 74 68 | 65 20 54 45 52 65 63 6f |t not th|e TEReco|
|00001c20| 72 64 2e 0d 52 65 74 75 | 72 6e 73 20 74 68 65 20 |rd..Retu|rns the |
|00001c30| 66 75 6c 6c 20 64 6f 63 | 75 6d 65 6e 74 20 68 65 |full doc|ument he|
|00001c40| 69 67 68 74 2e 0d 48 61 | 6e 64 6c 65 20 74 68 65 |ight..Ha|ndle the|
|00001c50| 20 65 6e 61 62 6c 69 6e | 67 20 61 6e 64 20 64 69 | enablin|g and di|
|00001c60| 73 61 62 6c 69 6e 67 20 | 6f 66 20 74 68 65 20 45 |sabling |of the E|
|00001c70| 64 69 74 20 6d 65 6e 75 | 2c 20 62 61 73 65 64 20 |dit menu|, based |
|00001c80| 6f 6e 20 74 68 65 20 61 | 63 74 69 76 65 20 54 65 |on the a|ctive Te|
|00001c90| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2e 0d |xtEdit c|ontrol..|
|00001ca0| 48 61 6e 64 6c 65 20 74 | 68 65 20 65 76 65 6e 74 |Handle t|he event|
|00001cb0| 2c 20 65 69 74 68 65 72 | 20 6d 6f 75 73 65 44 6f |, either| mouseDo|
|00001cc0| 77 6e 20 6f 72 20 6b 65 | 79 20 65 76 65 6e 74 2e |wn or ke|y event.|
|00001cd0| 0d 53 65 65 20 69 66 20 | 74 68 65 72 65 20 69 73 |.See if |there is|
|00001ce0| 20 61 6e 20 61 63 74 69 | 76 65 20 54 65 78 74 45 | an acti|ve TextE|
|00001cf0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 20 66 6f 72 20 |dit cont|rol for |
|00001d00| 74 68 69 73 20 77 69 6e | 64 6f 77 2e 0d 53 65 65 |this win|dow..See|
|00001d10| 20 69 66 20 61 20 54 65 | 78 74 45 64 69 74 20 63 | if a Te|xtEdit c|
|00001d20| 6f 6e 74 72 6f 6c 20 77 | 61 73 20 63 6c 69 63 6b |ontrol w|as click|
|00001d30| 65 64 20 6f 6e 20 64 69 | 72 65 63 74 6c 79 2e 0d |ed on di|rectly..|
|00001d40| 46 69 6e 64 20 74 68 65 | 20 54 65 78 74 45 64 69 |Find the| TextEdi|
|00001d50| 74 20 72 65 63 6f 72 64 | 20 74 68 61 74 20 69 73 |t record| that is|
|00001d60| 20 72 65 6c 61 74 65 64 | 20 74 6f 20 74 68 65 20 | related| to the |
|00001d70| 69 6e 64 69 63 61 74 65 | 64 20 73 63 72 6f 6c 6c |indicate|d scroll|
|00001d80| 62 61 72 2e 0d 47 65 74 | 20 74 68 65 20 73 74 79 |bar..Get| the sty|
|00001d90| 6c 65 20 73 63 72 61 70 | 20 66 6f 72 20 74 68 65 |le scrap| for the|
|00001da0| 20 65 6e 74 69 72 65 20 | 54 65 78 74 45 64 69 74 | entire |TextEdit|
|00001db0| 20 63 6f 6e 74 72 6f 6c | 2e 0d 52 65 74 75 72 6e | control|..Return|
|00001dc0| 20 74 68 65 20 6c 69 6e | 65 20 68 65 69 67 68 74 | the lin|e height|
|00001dd0| 20 6f 66 20 74 68 65 20 | 72 65 71 75 65 73 74 65 | of the |requeste|
|00001de0| 64 20 6c 69 6e 65 20 6e | 75 6d 62 65 72 2e 0d 52 |d line n|umber..R|
|00001df0| 65 74 75 72 6e 20 74 68 | 65 20 6c 69 6e 65 20 6e |eturn th|e line n|
|00001e00| 75 6d 62 65 72 20 61 73 | 73 6f 63 69 61 74 65 64 |umber as|sociated|
|00001e10| 20 77 69 74 68 20 74 68 | 65 20 6f 66 66 73 65 74 | with th|e offset|
|00001e20| 20 70 61 73 73 65 64 20 | 69 6e 2e 0d 52 65 74 75 | passed |in..Retu|
|00001e30| 72 6e 20 74 68 65 20 54 | 65 78 74 45 64 69 74 20 |rn the T|extEdit |
|00001e40| 63 6f 6e 74 72 6f 6c 20 | 74 65 78 74 20 61 73 20 |control |text as |
|00001e50| 61 20 70 61 73 63 61 6c | 20 73 74 72 69 6e 67 2e |a pascal| string.|
|00001e60| 0d 48 69 64 65 20 74 68 | 65 20 64 65 73 69 67 6e |.Hide th|e design|
|00001e70| 61 74 65 64 20 54 65 78 | 74 45 64 69 74 20 63 6f |ated Tex|tEdit co|
|00001e80| 6e 74 72 6f 6c 20 61 6e | 64 20 72 65 6c 61 74 65 |ntrol an|d relate|
|00001e90| 64 20 73 63 72 6f 6c 6c | 62 61 72 73 2e 0d 42 6c |d scroll|bars..Bl|
|00001ea0| 69 6e 6b 20 74 68 65 20 | 63 61 72 65 74 20 69 6e |ink the |caret in|
|00001eb0| 20 74 68 65 20 61 63 74 | 69 76 65 20 54 65 78 74 | the act|ive Text|
|00001ec0| 45 64 69 74 20 63 6f 6e | 74 72 6f 6c 2e 0d 44 6f |Edit con|trol..Do|
|00001ed0| 65 73 20 6b 65 79 70 72 | 65 73 73 20 61 70 70 6c |es keypr|ess appl|
|00001ee0| 79 20 74 6f 20 54 65 78 | 74 45 64 69 74 20 63 6f |y to Tex|tEdit co|
|00001ef0| 6e 74 72 6f 6c 3f 20 20 | 49 66 20 73 6f 2c 20 68 |ntrol? |If so, h|
|00001f00| 61 6e 64 6c 65 20 69 74 | 20 61 6e 64 20 72 65 74 |andle it| and ret|
|00001f10| 75 72 6e 20 6e 6f 6e 2d | 7a 65 72 6f 2e 0d 4d 6f |urn non-|zero..Mo|
|00001f20| 76 65 20 74 68 65 20 64 | 65 73 69 67 6e 61 74 65 |ve the d|esignate|
|00001f30| 64 20 54 65 78 74 45 64 | 69 74 20 63 6f 6e 74 72 |d TextEd|it contr|
|00001f40| 6f 6c 20 61 6e 64 20 72 | 65 6c 61 74 65 64 20 73 |ol and r|elated s|
|00001f50| 63 72 6f 6c 6c 62 61 72 | 73 2e 0d 43 72 65 61 74 |crollbar|s..Creat|
|00001f60| 65 20 61 20 6e 65 77 20 | 54 65 78 74 45 64 69 74 |e a new |TextEdit|
|00001f70| 20 63 6f 6e 74 72 6f 6c | 2e 0d 52 65 67 69 73 74 | control|..Regist|
|00001f80| 65 72 20 61 20 6e 65 77 | 20 75 6e 64 6f 20 66 6f |er a new| undo fo|
|00001f90| 72 20 74 68 65 20 6e 65 | 78 74 20 54 65 78 74 45 |r the ne|xt TextE|
|00001fa0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 20 65 64 69 74 |dit cont|rol edit|
|00001fb0| 69 6e 67 20 6f 70 65 72 | 61 74 69 6f 6e 2e 0d 49 |ing oper|ation..I|
|00001fc0| 6e 74 65 72 61 74 65 20 | 74 6f 20 74 68 65 20 6e |nterate |to the n|
|00001fd0| 65 78 74 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |ext Text|Edit con|
|00001fe0| 74 72 6f 6c 2e 0d 47 65 | 74 20 63 6f 72 72 65 63 |trol..Ge|t correc|
|00001ff0| 74 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |t number| of line|
|00002000| 20 69 6e 20 74 68 65 20 | 54 65 78 74 45 64 69 74 | in the |TextEdit|
|00002010| 20 68 61 6e 64 6c 65 2e | 0d 47 65 74 20 63 6f 72 | handle.|.Get cor|
|00002020| 72 65 63 74 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |rect num|ber of l|
|00002030| 69 6e 65 20 69 6e 20 74 | 68 65 20 54 65 78 74 45 |ine in t|he TextE|
|00002040| 64 69 74 20 68 61 6e 64 | 6c 65 2e 0d 53 65 74 20 |dit hand|le..Set |
|00002050| 74 68 65 20 54 65 78 74 | 45 64 69 74 20 63 6f 6e |the Text|Edit con|
|00002060| 74 72 6f 6c 20 74 65 78 | 74 20 74 6f 20 61 20 70 |trol tex|t to a p|
|00002070| 61 73 63 61 6c 20 73 74 | 72 69 6e 67 2e 0d 52 65 |ascal st|ring..Re|
|00002080| 74 75 72 6e 20 69 66 20 | 74 68 65 20 54 65 78 74 |turn if |the Text|
|00002090| 45 64 69 74 20 63 6f 6e | 74 72 6f 6c 20 69 73 20 |Edit con|trol is |
|000020a0| 72 65 61 64 2d 77 72 69 | 74 65 20 28 74 72 75 65 |read-wri|te (true|
|000020b0| 29 20 6f 72 20 72 65 61 | 64 2d 6f 6e 6c 79 20 28 |) or rea|d-only (|
|000020c0| 66 61 6c 73 65 29 2e 0d | 52 65 74 75 72 6e 20 63 |false)..|Return c|
|000020d0| 6f 6e 74 72 6f 6c 20 68 | 61 6e 64 6c 65 20 6f 66 |ontrol h|andle of|
|000020e0| 20 73 63 72 6f 6c 6c 62 | 61 72 20 72 65 6c 61 74 | scrollb|ar relat|
|000020f0| 65 64 20 74 6f 20 74 68 | 65 20 54 65 78 74 45 64 |ed to th|e TextEd|
|00002100| 69 74 20 72 65 63 6f 72 | 64 2e 0d 52 65 74 75 72 |it recor|d..Retur|
|00002110| 6e 20 63 6f 6e 74 72 6f | 6c 20 68 61 6e 64 6c 65 |n contro|l handle|
|00002120| 20 6f 66 20 73 63 72 6f | 6c 6c 62 61 72 20 72 65 | of scro|llbar re|
|00002130| 6c 61 74 65 64 20 74 6f | 20 74 68 65 20 54 65 78 |lated to| the Tex|
|00002140| 74 45 64 69 74 20 63 6f | 6e 74 72 6f 6c 2e 0d 53 |tEdit co|ntrol..S|
|00002150| 65 74 20 54 65 78 74 45 | 64 69 74 20 68 61 6e 64 |et TextE|dit hand|
|00002160| 6c 65 20 74 6f 20 61 63 | 63 65 70 74 20 6b 65 79 |le to ac|cept key|
|00002170| 73 20 22 66 61 73 74 22 | 2c 20 69 2e 65 2e 2c 20 |s "fast"|, i.e., |
|00002180| 69 6e 20 61 20 6c 6f 63 | 61 6c 20 6c 6f 6f 70 2e |in a loc|al loop.|
|00002190| 0d 53 65 74 20 54 65 78 | 74 45 64 69 74 20 68 61 |.Set Tex|tEdit ha|
|000021a0| 6e 64 6c 65 20 74 6f 20 | 62 65 20 66 69 6c 74 65 |ndle to |be filte|
|000021b0| 72 65 64 2e 0d 53 65 74 | 20 74 68 65 20 54 65 78 |red..Set| the Tex|
|000021c0| 74 45 64 69 74 20 63 6f | 6e 74 72 6f 6c 20 74 65 |tEdit co|ntrol te|
|000021d0| 78 74 20 74 6f 20 61 20 | 70 61 73 63 61 6c 20 73 |xt to a |pascal s|
|000021e0| 74 72 69 6e 67 2e 0d 53 | 65 74 20 61 20 72 61 6e |tring..S|et a ran|
|000021f0| 67 65 20 6f 66 20 74 65 | 78 74 2e 20 20 55 73 65 |ge of te|xt. Use|
|00002200| 20 74 68 69 73 20 69 6e | 73 74 65 61 64 20 6f 66 | this in|stead of|
|00002210| 20 54 45 53 65 74 53 65 | 6c 65 63 74 2e 0d 41 70 | TESetSe|lect..Ap|
|00002220| 70 6c 79 20 74 68 65 20 | 73 74 79 6c 65 20 73 63 |ply the |style sc|
|00002230| 72 61 70 20 74 6f 20 74 | 68 65 20 54 65 78 74 45 |rap to t|he TextE|
|00002240| 64 69 74 20 72 65 63 6f | 72 64 2e 0d 55 6e 68 69 |dit reco|rd..Unhi|
|00002250| 64 65 20 61 20 68 69 64 | 64 65 6e 20 54 65 78 74 |de a hid|den Text|
|00002260| 45 64 69 74 20 63 6f 6e | 74 72 6f 6c 2e 0d 43 68 |Edit con|trol..Ch|
|00002270| 61 6e 67 65 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |ange the| size of|
|00002280| 20 61 20 54 65 78 74 45 | 64 69 74 20 63 6f 6e 74 | a TextE|dit cont|
|00002290| 72 6f 6c 20 61 6e 64 20 | 72 65 6c 61 74 65 64 20 |rol and |related |
|000022a0| 73 63 72 6f 6c 6c 62 61 | 72 73 2e 0d 43 68 61 6e |scrollba|rs..Chan|
|000022b0| 67 65 20 74 68 65 20 73 | 69 7a 65 20 6f 66 20 61 |ge the s|ize of a|
|000022c0| 20 54 65 78 74 45 64 69 | 74 20 63 6f 6e 74 72 6f | TextEdi|t contro|
|000022d0| 6c 20 61 6e 64 20 72 65 | 6c 61 74 65 64 20 73 63 |l and re|lated sc|
|000022e0| 72 6f 6c 6c 62 61 72 73 | 2e 0d 47 65 74 20 69 6e |rollbars|..Get in|
|000022f0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|00002300| 74 68 65 20 74 61 72 67 | 65 74 20 54 65 78 74 45 |the targ|et TextE|
|00002310| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 2e 0d 50 65 72 |dit cont|rol..Per|
|00002320| 66 6f 72 6d 20 61 6e 20 | 75 6e 64 6f 20 66 75 6e |form an |undo fun|
|00002330| 63 74 69 6f 6e 20 66 6f | 72 20 74 68 65 20 54 65 |ction fo|r the Te|
|00002340| 78 74 45 64 69 74 20 63 | 6f 6e 74 72 6f 6c 2e 0d |xtEdit c|ontrol..|
|00002350| 44 72 61 77 20 74 68 65 | 20 54 65 78 74 45 64 69 |Draw the| TextEdi|
|00002360| 74 20 63 6f 6e 74 72 6f | 6c 20 61 6e 64 20 66 72 |t contro|l and fr|
|00002370| 61 6d 65 2e 0d 53 65 74 | 20 74 68 65 20 54 65 78 |ame..Set| the Tex|
|00002380| 74 45 64 69 74 20 63 6f | 6e 74 72 6f 6c 20 74 6f |tEdit co|ntrol to|
|00002390| 20 75 73 65 20 54 53 4d | 54 45 2e 0d 47 65 74 20 | use TSM|TE..Get |
|000023a0| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 20 68 61 6e 64 |the cont|rol hand|
|000023b0| 6c 65 2c 20 67 69 76 65 | 20 74 68 65 20 54 65 78 |le, give| the Tex|
|000023c0| 74 45 64 69 74 20 72 65 | 63 6f 72 64 2e 0d 41 63 |tEdit re|cord..Ac|
|000023d0| 74 69 76 61 74 65 20 74 | 68 65 20 54 65 78 74 45 |tivate t|he TextE|
|000023e0| 64 69 74 20 63 6f 6e 74 | 72 6f 6c 20 66 6f 72 20 |dit cont|rol for |
|000023f0| 74 68 65 20 61 63 74 69 | 76 61 74 69 6e 67 20 77 |the acti|vating w|
|00002400| 69 6e 64 6f 77 2e 0d 43 | 6f 6e 76 65 72 74 20 61 |indow..C|onvert a|
|00002410| 20 63 6f 6e 74 72 6f 6c | 20 68 61 6e 64 6c 65 20 | control| handle |
|00002420| 74 6f 20 61 20 63 6f 6e | 74 72 6f 6c 20 6e 75 6d |to a con|trol num|
|00002430| 62 65 72 2e 0d 46 69 6e | 64 20 6f 75 74 20 69 66 |ber..Fin|d out if|
|00002440| 20 72 65 73 6f 75 72 63 | 65 20 62 65 6c 6f 6e 67 | resourc|e belong|
|00002450| 73 20 74 6f 20 63 75 72 | 72 65 6e 74 20 72 65 73 |s to cur|rent res|
|00002460| 20 66 69 6c 65 2e 0d 44 | 69 73 70 6c 61 79 20 61 | file..D|isplay a|
|00002470| 6e 20 61 6c 65 72 74 20 | 74 68 61 74 20 74 65 6c |n alert |that tel|
|00002480| 6c 73 20 74 68 65 20 75 | 73 65 72 20 61 6e 20 65 |ls the u|ser an e|
|00002490| 72 72 6f 72 20 6f 63 63 | 75 72 72 65 64 2c 20 74 |rror occ|urred, t|
|000024a0| 68 65 6e 20 65 78 69 74 | 20 74 68 65 20 70 72 6f |hen exit| the pro|
|000024b0| 67 72 61 6d 2e 0d 44 69 | 73 70 6c 61 79 20 61 6e |gram..Di|splay an|
|000024c0| 20 61 6c 65 72 74 20 74 | 68 61 74 20 74 65 6c 6c | alert t|hat tell|
|000024d0| 73 20 74 68 65 20 75 73 | 65 72 20 61 6e 20 65 72 |s the us|er an er|
|000024e0| 72 6f 72 20 6f 63 63 75 | 72 72 65 64 2c 20 74 68 |ror occu|rred, th|
|000024f0| 65 6e 20 65 78 69 74 20 | 74 68 65 20 70 72 6f 67 |en exit |the prog|
|00002500| 72 61 6d 2e 0d 54 68 65 | 20 64 65 66 61 75 6c 74 |ram..The| default|
|00002510| 20 6f 62 6a 65 63 74 20 | 63 6f 6d 70 61 72 69 73 | object |comparis|
|00002520| 6f 6e 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 44 69 73 |on funct|ion..Dis|
|00002530| 70 6f 73 65 20 6f 66 20 | 74 68 65 20 73 74 61 6e |pose of |the stan|
|00002540| 64 61 72 64 20 64 6f 63 | 75 6d 65 6e 74 20 61 6e |dard doc|ument an|
|00002550| 64 20 75 6e 64 6f 20 69 | 6e 66 6f 72 6d 61 74 69 |d undo i|nformati|
|00002560| 6f 6e 2e 0d 43 72 65 61 | 74 65 20 74 68 65 20 73 |on..Crea|te the s|
|00002570| 74 61 6e 64 61 72 64 20 | 64 6f 63 75 6d 65 6e 74 |tandard |document|
|00002580| 20 61 6e 64 20 75 6e 64 | 6f 20 6f 62 6a 65 63 74 | and und|o object|
|00002590| 73 2e 0d 47 65 74 20 74 | 68 65 20 65 66 66 65 63 |s..Get t|he effec|
|000025a0| 74 69 76 65 20 28 6c 6f | 67 69 63 61 6c 29 20 64 |tive (lo|gical) d|
|000025b0| 65 73 74 69 6e 61 74 69 | 6f 6e 20 72 65 63 74 20 |estinati|on rect |
|000025c0| 66 6f 72 20 74 68 65 20 | 6c 61 79 65 72 2e 0d 44 |for the |layer..D|
|000025d0| 69 73 70 6f 73 65 20 6f | 66 20 74 68 65 20 73 74 |ispose o|f the st|
|000025e0| 61 6e 64 61 72 64 20 64 | 6f 63 75 6d 65 6e 74 20 |andard d|ocument |
|000025f0| 61 6e 64 20 75 6e 64 6f | 20 69 6e 66 6f 72 6d 61 |and undo| informa|
|00002600| 74 69 6f 6e 2e 0d 4d 6f | 76 65 20 75 6e 64 6f 20 |tion..Mo|ve undo |
|00002610| 74 61 73 6b 73 20 73 61 | 76 65 64 20 77 69 74 68 |tasks sa|ved with|
|00002620| 20 64 6f 63 75 6d 65 6e | 74 20 6f 75 74 20 6f 66 | documen|t out of|
|00002630| 20 64 6f 63 75 6d 65 6e | 74 20 61 6e 64 20 69 6e | documen|t and in|
|00002640| 74 6f 20 75 6e 64 6f 20 | 68 69 65 72 61 72 63 68 |to undo |hierarch|
|00002650| 79 2e 0d 52 65 61 64 20 | 74 68 65 20 64 65 66 61 |y..Read |the defa|
|00002660| 75 6c 74 20 64 6f 63 75 | 6d 65 6e 74 20 68 65 61 |ult docu|ment hea|
|00002670| 64 65 72 20 66 6f 72 6d | 61 74 2e 0d 57 72 69 74 |der form|at..Writ|
|00002680| 65 20 61 20 73 74 61 6e | 64 61 72 64 20 68 69 65 |e a stan|dard hie|
|00002690| 72 61 72 63 68 69 63 61 | 6c 20 64 6f 63 75 6d 65 |rarchica|l docume|
|000026a0| 6e 74 20 74 6f 20 64 69 | 73 6b 2e 0d 57 72 69 74 |nt to di|sk..Writ|
|000026b0| 65 73 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 68 |es the d|efault h|
|000026c0| 65 61 64 65 72 20 66 6f | 72 6d 61 74 2e 0d 52 65 |eader fo|rmat..Re|
|000026d0| 6d 6f 76 65 73 20 61 20 | 63 68 69 6c 64 20 66 72 |moves a |child fr|
|000026e0| 6f 6d 20 74 68 65 20 70 | 61 72 65 6e 74 27 73 20 |om the p|arent's |
|000026f0| 63 68 69 6c 64 20 68 61 | 6e 64 6c 65 20 74 61 62 |child ha|ndle tab|
|00002700| 6c 65 2e 0d 44 65 74 61 | 63 68 20 74 68 65 20 6c |le..Deta|ch the l|
|00002710| 61 79 65 72 20 66 72 6f | 6d 20 74 68 65 20 6c 61 |ayer fro|m the la|
|00002720| 79 65 72 20 63 68 61 69 | 6e 2e 0d a5 41 70 70 57 |yer chai|n...AppW|
|00002730| 61 6e 6e 61 62 65 20 28 | 57 69 6e 64 6f 77 44 69 |annabe (|WindowDi|
|00002740| 61 6c 6f 67 2e 63 29 2e | 20 20 53 61 6d 65 20 61 |alog.c).| Same a|
|00002750| 73 20 41 64 6a 75 73 74 | 4d 65 6e 75 49 74 65 6d |s Adjust|MenuItem|
|00002760| 73 2c 20 62 75 74 20 66 | 6f 72 20 64 69 61 6c 6f |s, but f|or dialo|
|00002770| 67 73 2e 0d a5 41 70 70 | 57 61 6e 6e 61 62 65 20 |gs...App|Wannabe |
|00002780| 28 57 69 6e 64 6f 77 44 | 69 61 6c 6f 67 2e 63 29 |(WindowD|ialog.c)|
|00002790| 2e 20 20 53 61 6d 65 20 | 61 73 20 43 61 6c 63 46 |. Same |as CalcF|
|000027a0| 72 61 6d 65 52 67 6e 2c | 20 62 75 74 20 66 6f 72 |rameRgn,| but for|
|000027b0| 20 64 69 61 6c 6f 67 73 | 2e 0d a5 41 70 70 57 61 | dialogs|...AppWa|
|000027c0| 6e 6e 61 62 65 20 28 57 | 69 6e 64 6f 77 44 69 61 |nnabe (W|indowDia|
|000027d0| 6c 6f 67 2e 63 29 2e 20 | 20 53 61 6d 65 20 61 73 |log.c). | Same as|
|000027e0| 20 43 6f 6e 74 65 6e 74 | 43 6c 69 63 6b 2c 20 62 | Content|Click, b|
|000027f0| 75 74 20 66 6f 72 20 64 | 69 61 6c 6f 67 73 2e 0d |ut for d|ialogs..|
|00002800| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00002810| 64 6f 77 44 69 61 6c 6f | 67 2e 63 29 2e 20 20 53 |dowDialo|g.c). S|
|00002820| 61 6d 65 20 61 73 20 43 | 6f 6e 74 65 6e 74 4b 65 |ame as C|ontentKe|
|00002830| 79 2c 20 62 75 74 20 66 | 6f 72 20 64 69 61 6c 6f |y, but f|or dialo|
|00002840| 67 73 2e 0d a5 41 70 70 | 57 61 6e 6e 61 62 65 20 |gs...App|Wannabe |
|00002850| 28 57 69 6e 64 6f 77 44 | 69 61 6c 6f 67 2e 63 29 |(WindowD|ialog.c)|
|00002860| 2e 20 20 53 61 6d 65 20 | 61 73 20 44 6f 4d 65 6e |. Same |as DoMen|
|00002870| 75 49 74 65 6d 2c 20 62 | 75 74 20 66 6f 72 20 64 |uItem, b|ut for d|
|00002880| 69 61 6c 6f 67 73 2e 0d | a5 41 70 70 57 61 6e 6e |ialogs..|.AppWann|
|00002890| 61 62 65 20 28 57 69 6e | 64 6f 77 44 69 61 6c 6f |abe (Win|dowDialo|
|000028a0| 67 2e 63 29 2e 20 20 53 | 61 6d 65 20 61 73 20 44 |g.c). S|ame as D|
|000028b0| 72 61 77 46 72 61 6d 65 | 2c 20 62 75 74 20 66 6f |rawFrame|, but fo|
|000028c0| 72 20 64 69 61 6c 6f 67 | 73 2e 0d a5 41 70 70 57 |r dialog|s...AppW|
|000028d0| 61 6e 6e 61 62 65 20 28 | 57 69 6e 64 6f 77 44 69 |annabe (|WindowDi|
|000028e0| 61 6c 6f 67 2e 63 29 2e | 20 20 53 61 6d 65 20 61 |alog.c).| Same a|
|000028f0| 73 20 46 72 65 65 44 6f | 63 75 6d 65 6e 74 2c 20 |s FreeDo|cument, |
|00002900| 62 75 74 20 66 6f 72 20 | 64 69 61 6c 6f 67 73 2e |but for |dialogs.|
|00002910| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|00002920| 6e 64 6f 77 44 69 61 6c | 6f 67 2e 63 29 2e 20 20 |ndowDial|og.c). |
|00002930| 53 61 6d 65 20 61 73 20 | 46 72 65 65 57 69 6e 64 |Same as |FreeWind|
|00002940| 6f 77 2c 20 62 75 74 20 | 66 6f 72 20 64 69 61 6c |ow, but |for dial|
|00002950| 6f 67 73 2e 0d a5 41 70 | 70 57 61 6e 6e 61 62 65 |ogs...Ap|pWannabe|
|00002960| 20 28 57 69 6e 64 6f 77 | 44 69 61 6c 6f 67 2e 63 | (Window|Dialog.c|
|00002970| 29 2e 20 20 53 61 6d 65 | 20 61 73 20 49 6d 61 67 |). Same| as Imag|
|00002980| 65 44 6f 63 75 6d 65 6e | 74 2c 20 62 75 74 20 66 |eDocumen|t, but f|
|00002990| 6f 72 20 64 69 61 6c 6f | 67 73 2e 0d a5 41 70 70 |or dialo|gs...App|
|000029a0| 57 61 6e 6e 61 62 65 20 | 28 57 69 6e 64 6f 77 44 |Wannabe |(WindowD|
|000029b0| 69 61 6c 6f 67 2e 63 29 | 2e 20 20 53 61 6d 65 20 |ialog.c)|. Same |
|000029c0| 61 73 20 49 6e 69 74 43 | 6f 6e 74 65 6e 74 2c 20 |as InitC|ontent, |
|000029d0| 62 75 74 20 66 6f 72 20 | 64 69 61 6c 6f 67 73 2e |but for |dialogs.|
|000029e0| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|000029f0| 6e 64 6f 77 44 69 61 6c | 6f 67 2e 63 29 2e 20 20 |ndowDial|og.c). |
|00002a00| 53 61 6d 65 20 61 73 20 | 52 65 73 69 7a 65 43 6f |Same as |ResizeCo|
|00002a10| 6e 74 65 6e 74 2c 20 62 | 75 74 20 66 6f 72 20 64 |ntent, b|ut for d|
|00002a20| 69 61 6c 6f 67 73 2e 0d | a5 41 70 70 57 61 6e 6e |ialogs..|.AppWann|
|00002a30| 61 62 65 20 28 57 69 6e | 64 6f 77 44 69 61 6c 6f |abe (Win|dowDialo|
|00002a40| 67 2e 63 29 2e 20 20 53 | 61 6d 65 20 61 73 20 53 |g.c). S|ame as S|
|00002a50| 63 72 6f 6c 6c 46 72 61 | 6d 65 2c 20 62 75 74 20 |crollFra|me, but |
|00002a60| 66 6f 72 20 64 69 61 6c | 6f 67 73 2e 0d a5 41 70 |for dial|ogs...Ap|
|00002a70| 70 57 61 6e 6e 61 62 65 | 20 28 57 69 6e 64 6f 77 |pWannabe| (Window|
|00002a80| 44 69 61 6c 6f 67 2e 63 | 29 2e 20 20 53 61 6d 65 |Dialog.c|). Same|
|00002a90| 20 61 73 20 55 6e 64 6f | 46 69 78 75 70 2c 20 62 | as Undo|Fixup, b|
|00002aa0| 75 74 20 66 6f 72 20 64 | 69 61 6c 6f 67 73 2e 0d |ut for d|ialogs..|
|00002ab0| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00002ac0| 64 6f 77 44 69 61 6c 6f | 67 2e 63 29 2e 20 20 53 |dowDialo|g.c). S|
|00002ad0| 61 6d 65 20 61 73 20 57 | 69 6e 64 6f 77 43 75 72 |ame as W|indowCur|
|00002ae0| 73 6f 72 2c 20 62 75 74 | 20 66 6f 72 20 64 69 61 |sor, but| for dia|
|00002af0| 6c 6f 67 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |logs...A|ppWannab|
|00002b00| 65 20 28 57 69 6e 64 6f | 77 44 69 61 6c 6f 67 2e |e (Windo|wDialog.|
|00002b10| 63 29 2e 20 20 53 61 6d | 65 20 61 73 20 57 69 6e |c). Sam|e as Win|
|00002b20| 64 6f 77 47 6f 6e 65 46 | 69 78 75 70 2c 20 62 75 |dowGoneF|ixup, bu|
|00002b30| 74 20 66 6f 72 20 64 69 | 61 6c 6f 67 73 2e 0d 44 |t for di|alogs..D|
|00002b40| 69 73 70 6f 73 65 20 6f | 66 20 61 6c 6c 20 75 6e |ispose o|f all un|
|00002b50| 64 6f 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |do infor|mation a|
|00002b60| 6e 64 20 70 72 65 76 65 | 6e 74 20 66 75 72 74 68 |nd preve|nt furth|
|00002b70| 65 72 20 75 6e 64 6f 20 | 63 6f 6c 6c 65 63 74 69 |er undo |collecti|
|00002b80| 6f 6e 2e 0d 53 68 6f 77 | 20 6f 72 20 68 69 64 65 |on..Show| or hide|
|00002b90| 20 61 20 73 65 74 20 6f | 66 20 63 6f 6e 74 72 6f | a set o|f contro|
|00002ba0| 6c 73 2e 0d 44 6f 20 61 | 20 73 79 73 74 65 6d 2d |ls..Do a| system-|
|00002bb0| 69 6e 64 65 70 65 6e 64 | 65 6e 74 20 28 73 79 73 |independ|ent (sys|
|00002bc0| 74 65 6d 20 36 20 6f 72 | 20 37 2b 29 20 53 74 61 |tem 6 or| 7+) Sta|
|00002bd0| 6e 64 61 72 64 20 47 65 | 74 20 46 69 6c 65 2e 0d |ndard Ge|t File..|
|00002be0| 44 6f 20 61 20 73 79 73 | 74 65 6d 2d 69 6e 64 65 |Do a sys|tem-inde|
|00002bf0| 70 65 6e 64 65 6e 74 20 | 28 73 79 73 74 65 6d 20 |pendent |(system |
|00002c00| 36 20 6f 72 20 37 2b 29 | 20 53 74 61 6e 64 61 72 |6 or 7+)| Standar|
|00002c10| 64 20 50 75 74 20 46 69 | 6c 65 2e 0d 44 69 73 70 |d Put Fi|le..Disp|
|00002c20| 6f 73 65 20 74 68 65 20 | 77 69 6e 64 6f 77 73 2c |ose the |windows,|
|00002c30| 20 67 69 76 69 6e 67 20 | 75 73 65 72 20 74 68 65 | giving |user the|
|00002c40| 20 63 68 61 6e 63 65 20 | 74 6f 20 61 62 6f 72 74 | chance |to abort|
|00002c50| 2e 0d 44 69 73 70 6f 73 | 65 73 20 74 68 65 20 69 |..Dispos|es the i|
|00002c60| 6e 64 69 63 61 74 65 64 | 20 77 69 6e 64 6f 77 2e |ndicated| window.|
|00002c70| 20 20 41 6c 73 6f 20 68 | 61 6e 64 6c 65 73 20 69 | Also h|andles i|
|00002c80| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 20 69 73 20 |f the wi|ndow is |
|00002c90| 61 20 44 41 20 77 69 6e | 64 6f 77 2e 0d 44 69 73 |a DA win|dow..Dis|
|00002ca0| 70 6f 73 65 73 20 6f 66 | 20 74 68 65 20 73 70 65 |poses of| the spe|
|00002cb0| 63 69 66 69 65 64 20 63 | 68 69 6c 64 20 61 6e 64 |cified c|hild and|
|00002cc0| 20 61 6c 6c 20 6f 66 66 | 73 70 72 69 6e 67 20 6f | all off|spring o|
|00002cd0| 66 20 74 68 61 74 20 63 | 68 69 6c 64 2e 0d 44 69 |f that c|hild..Di|
|00002ce0| 73 70 6f 73 65 20 61 20 | 73 69 6e 67 6c 65 20 63 |spose a |single c|
|00002cf0| 6f 6e 74 72 6f 6c 20 66 | 72 6f 6d 20 61 20 63 6f |ontrol f|rom a co|
|00002d00| 6e 74 72 6f 6c 20 73 65 | 74 2e 0d 44 69 73 70 6f |ntrol se|t..Dispo|
|00002d10| 73 65 20 61 20 73 65 74 | 20 6f 66 20 63 6f 6e 74 |se a set| of cont|
|00002d20| 72 6f 6c 73 2e 0d 44 69 | 73 70 6f 73 65 20 6f 66 |rols..Di|spose of|
|00002d30| 20 61 6e 20 41 70 70 73 | 54 6f 47 6f 20 64 6f 63 | an Apps|ToGo doc|
|00002d40| 75 6d 65 6e 74 2e 0d 44 | 65 74 61 63 68 20 74 68 |ument..D|etach th|
|00002d50| 65 20 6c 61 79 65 72 20 | 66 72 6f 6d 20 74 68 65 |e layer |from the|
|00002d60| 20 6c 61 79 65 72 20 63 | 68 61 69 6e 2c 20 61 6e | layer c|hain, an|
|00002d70| 64 20 74 68 65 6e 20 64 | 69 73 70 6f 73 65 20 69 |d then d|ispose i|
|00002d80| 74 2e 0d 54 68 69 73 20 | 64 69 73 70 6f 73 65 73 |t..This |disposes|
|00002d90| 20 6f 66 20 74 68 65 20 | 6f 62 6a 65 63 74 20 61 | of the |object a|
|00002da0| 6e 64 20 61 6e 79 20 6f | 66 66 73 70 72 69 6e 67 |nd any o|ffspring|
|00002db0| 20 6f 66 20 74 68 61 74 | 20 6f 62 6a 65 63 74 2e | of that| object.|
|00002dc0| 0d 44 69 73 70 6f 73 65 | 20 6f 6e 65 20 77 69 6e |.Dispose| one win|
|00002dd0| 64 6f 77 2c 20 67 69 76 | 69 6e 67 20 74 68 65 20 |dow, giv|ing the |
|00002de0| 75 73 65 72 20 74 68 65 | 20 63 68 61 6e 63 65 20 |user the| chance |
|00002df0| 74 6f 20 61 62 6f 72 74 | 2e 0d 44 69 73 70 6f 73 |to abort|..Dispos|
|00002e00| 65 20 74 68 65 20 6c 61 | 79 65 72 20 61 6e 64 20 |e the la|yer and |
|00002e10| 61 6c 6c 20 6c 61 79 65 | 72 73 20 62 65 6c 6f 77 |all laye|rs below|
|00002e20| 20 69 74 20 66 72 6f 6d | 20 74 68 65 20 6c 61 79 | it from| the lay|
|00002e30| 65 72 20 63 68 61 69 6e | 2e 0d 44 69 73 70 6f 73 |er chain|..Dispos|
|00002e40| 65 20 6f 66 20 61 6c 6c | 20 75 6e 64 6f 20 69 6e |e of all| undo in|
|00002e50| 66 6f 72 6d 61 74 69 6f | 6e 2e 0d a5 41 70 70 57 |formatio|n...AppW|
|00002e60| 61 6e 6e 61 62 65 20 28 | 44 6f 45 76 65 6e 74 2e |annabe (|DoEvent.|
|00002e70| 63 29 2e 20 20 43 61 6c | 6c 65 64 20 62 79 20 66 |c). Cal|led by f|
|00002e80| 72 61 6d 65 77 6f 72 6b | 20 74 6f 20 61 63 74 69 |ramework| to acti|
|00002e90| 76 61 74 65 20 6f 72 20 | 64 65 61 63 74 69 76 61 |vate or |deactiva|
|00002ea0| 74 65 20 61 20 77 69 6e | 64 6f 77 2e 0d 41 64 6a |te a win|dow..Adj|
|00002eb0| 75 73 74 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 6d |ust all |of the m|
|00002ec0| 65 6e 75 73 20 69 6e 20 | 74 68 65 20 64 65 73 69 |enus in |the desi|
|00002ed0| 67 6e 61 74 65 64 20 4d | 42 41 52 2e 0d a5 41 70 |gnated M|BAR...Ap|
|00002ee0| 70 57 61 6e 6e 61 62 65 | 20 28 4d 65 6e 75 2e 63 |pWannabe| (Menu.c|
|00002ef0| 29 2e 20 20 43 61 6c 6c | 65 64 20 62 79 20 66 72 |). Call|ed by fr|
|00002f00| 61 6d 65 77 6f 72 6b 20 | 74 6f 20 61 63 74 69 76 |amework |to activ|
|00002f10| 61 74 65 20 6f 72 20 64 | 65 61 63 74 69 76 61 74 |ate or d|eactivat|
|00002f20| 65 20 61 20 77 69 6e 64 | 6f 77 2e 0d 41 70 70 73 |e a wind|ow..Apps|
|00002f30| 54 6f 47 6f 20 65 76 65 | 6e 74 20 68 61 6e 64 6c |ToGo eve|nt handl|
|00002f40| 65 72 20 66 6f 72 20 27 | 6f 61 70 70 27 20 41 70 |er for '|oapp' Ap|
|00002f50| 70 6c 65 45 76 65 6e 74 | 2e 0d 43 61 6c 6c 20 65 |pleEvent|..Call e|
|00002f60| 61 63 68 20 6f 62 6a 65 | 63 74 20 6f 66 20 74 68 |ach obje|ct of th|
|00002f70| 65 20 74 72 65 65 20 28 | 6f 72 20 62 72 61 6e 63 |e tree (|or branc|
|00002f80| 68 29 20 69 6e 20 62 61 | 63 6b 2d 74 6f 2d 66 72 |h) in ba|ck-to-fr|
|00002f90| 6f 6e 74 20 6f 72 64 65 | 72 2e 0d 42 75 69 6c 64 |ont orde|r..Build|
|00002fa0| 20 61 20 7a 6f 6e 65 20 | 6c 69 73 74 20 69 6e 74 | a zone |list int|
|00002fb0| 6f 20 61 20 6c 69 73 74 | 20 68 61 6e 64 6c 65 2e |o a list| handle.|
|00002fc0| 0d 43 61 6c 63 75 6c 61 | 74 65 20 72 65 67 69 6f |.Calcula|te regio|
|00002fd0| 6e 20 74 68 61 74 20 65 | 6e 63 6f 6d 70 61 73 73 |n that e|ncompass|
|00002fe0| 65 73 20 65 6e 74 69 72 | 65 20 77 69 6e 64 6f 77 |es entir|e window|
|00002ff0| 20 66 72 61 6d 65 20 61 | 72 65 61 2e 0d 43 61 6c | frame a|rea..Cal|
|00003000| 63 75 6c 61 74 65 20 74 | 68 65 20 72 65 67 69 6f |culate t|he regio|
|00003010| 6e 20 74 68 61 74 20 65 | 6e 63 6f 6d 70 61 73 73 |n that e|ncompass|
|00003020| 65 73 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 20 |es the d|ocument |
|00003030| 73 63 72 6f 6c 6c 62 61 | 72 73 20 61 6e 64 20 67 |scrollba|rs and g|
|00003040| 72 6f 77 49 63 6f 6e 2e | 0d 50 72 6f 63 65 73 73 |rowIcon.|.Process|
|00003050| 20 61 20 63 6f 6e 74 65 | 6e 74 20 63 6c 69 63 6b | a conte|nt click|
|00003060| 2e 20 20 4d 61 79 20 63 | 61 6c 6c 20 61 70 70 6c |. May c|all appl|
|00003070| 69 63 61 74 69 6f 6e 20 | 74 6f 20 68 65 6c 70 2e |ication |to help.|
|00003080| 0d 52 65 61 63 74 69 76 | 61 74 65 20 61 20 54 65 |.Reactiv|ate a Te|
|00003090| 78 74 45 64 69 74 20 6f | 72 20 4c 69 73 74 20 63 |xtEdit o|r List c|
|000030a0| 6f 6e 74 72 6f 6c 2e 0d | a5 41 70 70 57 61 6e 6e |ontrol..|.AppWann|
|000030b0| 61 62 65 20 28 44 6f 45 | 76 65 6e 74 2e 63 29 2e |abe (DoE|vent.c).|
|000030c0| 20 20 43 61 6c 6c 65 64 | 20 62 79 20 66 72 61 6d | Called| by fram|
|000030d0| 65 77 6f 72 6b 20 74 6f | 20 61 64 6a 75 73 74 20 |ework to| adjust |
|000030e0| 74 68 65 20 63 75 72 73 | 6f 72 2e 0d 41 70 70 73 |the curs|or..Apps|
|000030f0| 54 6f 47 6f 20 44 72 61 | 67 57 69 6e 64 6f 77 20 |ToGo Dra|gWindow |
|00003100| 63 6f 64 65 2e 20 20 55 | 73 65 20 74 68 69 73 20 |code. U|se this |
|00003110| 69 6e 73 74 65 61 64 20 | 6f 66 20 44 72 61 67 57 |instead |of DragW|
|00003120| 69 6e 64 6f 77 2e 0d 54 | 68 69 73 20 69 73 20 77 |indow..T|his is w|
|00003130| 68 65 72 65 20 74 68 65 | 20 77 6f 72 6b 20 66 6f |here the| work fo|
|00003140| 72 20 73 63 72 6f 6c 6c | 62 61 72 2f 63 6f 6e 74 |r scroll|bar/cont|
|00003150| 72 6f 6c 20 64 72 61 77 | 69 6e 67 20 69 73 20 61 |rol draw|ing is a|
|00003160| 63 74 75 61 6c 6c 79 20 | 64 6f 6e 65 2e 0d 44 72 |ctually |done..Dr|
|00003170| 61 77 73 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 63 |aws all |of the c|
|00003180| 6f 6e 74 72 6f 6c 73 20 | 69 6e 20 61 20 77 69 6e |ontrols |in a win|
|00003190| 64 6f 77 2c 20 6f 72 20 | 6a 75 73 74 20 74 68 65 |dow, or |just the|
|000031a0| 20 73 63 72 6f 6c 6c 62 | 61 72 20 63 6f 6e 74 72 | scrollb|ar contr|
|000031b0| 6f 6c 73 2e 0d 44 72 61 | 77 20 74 68 65 20 65 6e |ols..Dra|w the en|
|000031c0| 74 69 72 65 20 66 72 61 | 6d 65 20 6f 66 20 61 20 |tire fra|me of a |
|000031d0| 77 69 6e 64 6f 77 2e 20 | 20 41 70 70 6c 69 63 61 |window. | Applica|
|000031e0| 74 69 6f 6e 20 6d 61 79 | 20 61 6c 73 6f 20 62 65 |tion may| also be|
|000031f0| 20 63 61 6c 6c 65 64 20 | 66 6f 72 20 70 61 72 74 | called |for part|
|00003200| 2e 0d 44 72 61 77 73 20 | 74 68 65 20 67 72 6f 77 |..Draws |the grow|
|00003210| 20 69 63 6f 6e 20 66 6f | 72 20 74 68 65 20 77 69 | icon fo|r the wi|
|00003220| 6e 64 6f 77 20 69 6e 20 | 74 68 65 20 73 70 65 63 |ndow in |the spec|
|00003230| 69 66 69 65 64 20 6d 61 | 6e 6e 65 72 2e 0d 43 61 |ified ma|nner..Ca|
|00003240| 6c 6c 20 65 61 63 68 20 | 6f 62 6a 65 63 74 20 6f |ll each |object o|
|00003250| 66 20 74 68 65 20 74 72 | 65 65 20 28 6f 72 20 62 |f the tr|ee (or b|
|00003260| 72 61 6e 63 68 29 20 69 | 6e 20 62 61 63 6b 2d 74 |ranch) i|n back-t|
|00003270| 6f 2d 66 72 6f 6e 74 20 | 6f 72 64 65 72 20 61 6e |o-front |order an|
|00003280| 64 20 61 62 6f 72 74 20 | 6f 6e 20 65 72 72 6f 72 |d abort |on error|
|00003290| 2e 0d 43 61 6c 6c 20 65 | 61 63 68 20 6f 62 6a 65 |..Call e|ach obje|
|000032a0| 63 74 20 6f 66 20 74 68 | 65 20 74 72 65 65 20 28 |ct of th|e tree (|
|000032b0| 6f 72 20 62 72 61 6e 63 | 68 29 20 69 6e 20 66 72 |or branc|h) in fr|
|000032c0| 6f 6e 74 2d 74 6f 2d 62 | 61 63 6b 20 6f 72 64 65 |ont-to-b|ack orde|
|000032d0| 72 20 61 6e 64 20 61 62 | 6f 72 74 20 6f 6e 20 65 |r and ab|ort on e|
|000032e0| 72 72 6f 72 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |rror...A|ppWannab|
|000032f0| 65 20 28 44 6f 45 76 65 | 6e 74 2e 63 29 2e 20 20 |e (DoEve|nt.c). |
|00003300| 54 68 69 73 20 69 73 20 | 77 68 65 72 65 20 65 76 |This is |where ev|
|00003310| 65 6e 74 20 64 69 73 70 | 61 74 63 68 69 6e 67 20 |ent disp|atching |
|00003320| 6f 63 63 75 72 73 2e 0d | 4f 70 70 6f 72 74 75 6e |occurs..|Opportun|
|00003330| 69 74 79 20 74 6f 20 72 | 65 6c 65 61 73 65 20 61 |ity to r|elease a|
|00003340| 20 64 6f 63 75 6d 65 6e | 74 d5 73 20 61 64 64 69 | documen|t.s addi|
|00003350| 74 69 6f 6e 61 6c 20 6d | 65 6d 6f 72 79 2e 0d 4f |tional m|emory..O|
|00003360| 70 70 6f 72 74 75 6e 69 | 74 79 20 74 6f 20 72 65 |pportuni|ty to re|
|00003370| 6c 65 61 73 65 20 61 20 | 77 69 6e 64 6f 77 d5 73 |lease a |window.s|
|00003380| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 6d 65 6d 6f | additio|nal memo|
|00003390| 72 79 2e 0d 43 61 6c 6c | 20 65 61 63 68 20 6f 62 |ry..Call| each ob|
|000033a0| 6a 65 63 74 20 6f 66 20 | 74 68 65 20 74 72 65 65 |ject of |the tree|
|000033b0| 20 28 6f 72 20 62 72 61 | 6e 63 68 29 20 69 6e 20 | (or bra|nch) in |
|000033c0| 66 72 6f 6e 74 2d 74 6f | 2d 62 61 63 6b 20 6f 72 |front-to|-back or|
|000033d0| 64 65 72 2e 0d 53 69 6d | 70 6c 79 20 63 61 6c 6c |der..Sim|ply call|
|000033e0| 73 20 41 45 50 72 6f 63 | 65 73 73 41 70 70 6c 65 |s AEProc|essApple|
|000033f0| 45 76 65 6e 74 20 61 6e | 64 20 72 65 70 6f 72 74 |Event an|d report|
|00003400| 73 20 61 6e 79 20 65 72 | 72 6f 72 73 2e 0d 41 70 |s any er|rors..Ap|
|00003410| 70 6c 69 63 61 74 69 6f | 6e 20 77 69 6e 64 6f 77 |plicatio|n window|
|00003420| d5 73 20 69 6d 61 67 69 | 6e 67 20 70 72 6f 63 65 |.s imagi|ng proce|
|00003430| 64 75 72 65 20 28 74 6f | 20 65 69 74 68 65 72 20 |dure (to| either |
|00003440| 77 69 6e 64 6f 77 20 6f | 72 20 70 72 69 6e 74 65 |window o|r printe|
|00003450| 72 29 2e 0d 41 70 70 6c | 69 63 61 74 69 6f 6e d5 |r)..Appl|ication.|
|00003460| 73 20 6f 70 70 6f 72 74 | 75 6e 69 74 79 20 74 6f |s opport|unity to|
|00003470| 20 69 6e 69 74 69 61 6c | 69 7a 65 20 77 69 6e 64 | initial|ize wind|
|00003480| 6f 77 20 63 6f 6e 74 65 | 6e 74 2e 0d 55 73 65 64 |ow conte|nt..Used|
|00003490| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 20 61 20 6c | to gene|rate a l|
|000034a0| 69 73 74 20 6f 66 20 49 | 50 43 20 70 6f 72 74 73 |ist of I|PC ports|
|000034b0| 2c 20 67 69 76 65 6e 20 | 61 20 74 61 72 67 65 74 |, given |a target|
|000034c0| 2e 20 20 46 6f 72 20 61 | 6e 20 65 78 61 6d 70 6c |. For a|n exampl|
|000034d0| 65 20 75 73 61 67 65 2c | 0d 50 72 6f 63 65 73 73 |e usage,|.Process|
|000034e0| 20 6b 65 79 20 65 76 65 | 6e 74 2e 20 20 46 72 61 | key eve|nt. Fra|
|000034f0| 6d 65 77 6f 72 6b 20 6d | 61 79 20 63 61 6c 6c 20 |mework m|ay call |
|00003500| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 6f 20 66 |applicat|ion to f|
|00003510| 69 6e 69 73 68 20 65 76 | 65 6e 74 2e 0d a5 41 70 |inish ev|ent...Ap|
|00003520| 70 57 61 6e 6e 61 62 65 | 20 28 4d 65 6e 75 2e 63 |pWannabe| (Menu.c|
|00003530| 29 2e 20 20 43 61 6c 6c | 65 64 20 62 79 20 66 72 |). Call|ed by fr|
|00003540| 61 6d 65 77 6f 72 6b 20 | 74 6f 20 65 78 65 63 75 |amework |to execu|
|00003550| 74 65 20 6d 65 6e 75 20 | 63 6f 6d 6d 61 6e 64 2e |te menu |command.|
|00003560| 0d a5 41 70 70 57 61 6e | 6e 61 62 65 20 28 57 69 |..AppWan|nabe (Wi|
|00003570| 6e 64 6f 77 2e 63 29 2e | 20 20 43 61 6c 6c 65 64 |ndow.c).| Called|
|00003580| 20 62 79 20 66 72 61 6d | 65 77 6f 72 6b 20 73 6f | by fram|ework so|
|00003590| 20 61 70 70 20 63 61 6e | 20 64 6f 20 74 68 65 20 | app can| do the |
|000035a0| 6d 65 6e 75 20 63 6f 6d | 6d 61 6e 64 2e 0d 50 72 |menu com|mand..Pr|
|000035b0| 6f 63 65 73 73 20 6d 6f | 75 73 65 44 6f 77 6e 20 |ocess mo|useDown |
|000035c0| 65 76 65 6e 74 2e 20 20 | 46 72 61 6d 65 77 6f 72 |event. |Framewor|
|000035d0| 6b 20 6d 61 79 20 63 61 | 6c 6c 20 61 70 70 6c 69 |k may ca|ll appli|
|000035e0| 63 61 74 69 6f 6e 20 74 | 6f 20 66 69 6e 69 73 68 |cation t|o finish|
|000035f0| 20 65 76 65 6e 74 2e 0d | 43 61 6c 6c 65 64 20 61 | event..|Called a|
|00003600| 66 74 65 72 20 75 73 69 | 6e 67 20 50 72 69 6e 74 |fter usi|ng Print|
|00003610| 44 6f 63 75 6d 65 6e 74 | 20 66 6f 72 20 63 6c 65 |Document| for cle|
|00003620| 61 6e 75 70 2e 0d 43 72 | 65 61 74 65 20 77 69 6e |anup..Cr|eate win|
|00003630| 64 6f 77 20 66 6f 72 20 | 41 70 70 73 54 6f 47 6f |dow for |AppsToGo|
|00003640| 20 64 6f 63 75 6d 65 6e | 74 2e 0d 4e 75 6d 62 65 | documen|t..Numbe|
|00003650| 72 20 65 61 63 68 20 6d | 65 6d 62 65 72 20 69 6e |r each m|ember in|
|00003660| 20 74 68 65 20 74 72 65 | 65 20 77 69 74 68 20 61 | the tre|e with a|
|00003670| 20 75 6e 69 71 75 65 20 | 74 72 65 65 49 44 2e 0d | unique |treeID..|
|00003680| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00003690| 64 6f 77 2e 63 29 2e 20 | 20 43 61 6c 6c 65 64 20 |dow.c). | Called |
|000036a0| 62 79 20 66 72 61 6d 65 | 77 6f 72 6b 20 73 6f 20 |by frame|work so |
|000036b0| 61 70 70 20 63 61 6e 20 | 73 74 61 72 74 2f 72 65 |app can |start/re|
|000036c0| 73 74 61 72 74 2f 65 64 | 69 74 65 64 2e 0d 43 61 |start/ed|ited..Ca|
|000036d0| 6c 6c 73 20 64 6f 63 75 | 6d 65 6e 74 d5 73 20 72 |lls docu|ment.s r|
|000036e0| 65 61 64 2d 64 6f 63 75 | 6d 65 6e 74 20 70 72 6f |ead-docu|ment pro|
|000036f0| 63 65 64 75 72 65 2c 20 | 77 68 69 63 68 20 72 65 |cedure, |which re|
|00003700| 61 64 73 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |ads the |document|
|00003710| 2e 0d 43 61 6c 6c 73 20 | 64 6f 63 75 6d 65 6e 74 |..Calls |document|
|00003720| d5 73 20 64 6f 63 75 6d | 65 6e 74 20 72 65 61 64 |.s docum|ent read|
|00003730| 2d 68 65 61 64 65 72 20 | 70 72 6f 63 65 64 75 72 |-header |procedur|
|00003740| 65 2c 20 77 68 69 63 68 | 20 72 65 61 64 73 20 74 |e, which| reads t|
|00003750| 68 65 20 68 65 61 64 65 | 72 2e 0d 43 61 6c 6c 65 |he heade|r..Calle|
|00003760| 64 20 61 66 74 65 72 20 | 61 20 77 69 6e 64 6f 77 |d after |a window|
|00003770| 20 69 73 20 72 65 73 69 | 7a 65 64 2e 20 20 54 68 | is resi|zed. Th|
|00003780| 69 73 20 69 73 20 6d 61 | 6b 65 20 72 65 6c 61 74 |is is ma|ke relat|
|00003790| 65 64 20 63 68 61 6e 67 | 65 73 20 74 6f 20 74 68 |ed chang|es to th|
|000037a0| 65 20 63 6f 6e 74 65 6e | 74 2e 0d 43 61 6c 6c 65 |e conten|t..Calle|
|000037b0| 64 20 61 66 74 65 72 20 | 61 20 77 69 6e 64 6f 77 |d after |a window|
|000037c0| 20 69 73 20 72 65 73 69 | 7a 65 64 20 76 69 61 20 | is resi|zed via |
|000037d0| 67 72 6f 77 20 6f 72 20 | 7a 6f 6f 6d 2e 0d 53 63 |grow or |zoom..Sc|
|000037e0| 72 6f 6c 6c 20 61 20 64 | 6f 63 75 6d 65 6e 74 d5 |roll a d|ocument.|
|000037f0| 73 20 66 72 61 6d 65 20 | 61 72 65 61 2e 0d 4d 61 |s frame |area..Ma|
|00003800| 69 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |in appli|cation c|
|00003810| 75 72 73 6f 72 2d 73 65 | 74 74 69 6e 67 20 70 72 |ursor-se|tting pr|
|00003820| 6f 63 65 64 75 72 65 2e | 0d 47 69 76 65 6e 20 61 |ocedure.|.Given a|
|00003830| 6e 20 49 44 2c 20 69 6e | 73 74 65 61 64 20 6f 66 |n ID, in|stead of|
|00003840| 20 61 20 70 6f 69 6e 74 | 65 72 2c 20 73 65 74 20 | a point|er, set |
|00003850| 74 68 65 20 63 75 72 73 | 6f 72 2e 0d 49 66 20 74 |the curs|or..If t|
|00003860| 68 65 20 6f 62 6a 65 63 | 74 20 68 61 73 20 61 20 |he objec|t has a |
|00003870| 6d 65 74 68 6f 64 20 70 | 72 6f 63 65 64 75 72 65 |method p|rocedure|
|00003880| 2c 20 63 61 6c 6c 20 69 | 74 2e 20 20 49 66 20 6e |, call i|t. If n|
|00003890| 6f 20 6d 65 74 68 6f 64 | 20 70 72 6f 63 65 64 75 |o method| procedu|
|000038a0| 72 65 2c 20 64 6f 20 6e | 6f 74 68 69 6e 67 2e 0d |re, do n|othing..|
|000038b0| 50 61 72 74 20 6f 66 20 | 74 68 65 20 75 6e 64 6f |Part of |the undo|
|000038c0| 20 6d 65 63 68 61 6e 69 | 73 6d 2e 20 20 54 68 69 | mechani|sm. Thi|
|000038d0| 73 20 64 69 73 70 61 74 | 63 68 65 73 20 74 6f 20 |s dispat|ches to |
|000038e0| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 d5 73 20 75 |the docu|ment.s u|
|000038f0| 6e 64 6f 20 66 69 78 75 | 70 2e 0d 50 65 72 66 6f |ndo fixu|p..Perfo|
|00003900| 72 6d 73 20 61 6e 20 75 | 6e 64 6f 2f 72 65 64 6f |rms an u|ndo/redo|
|00003910| 20 70 72 6f 63 65 73 73 | 20 66 6f 72 20 61 20 64 | process| for a d|
|00003920| 6f 63 75 6d 65 6e 74 2e | 0d 55 70 64 61 74 65 20 |ocument.|.Update |
|00003930| 74 68 65 20 77 69 6e 64 | 6f 77 2e 20 20 44 6f 20 |the wind|ow. Do |
|00003940| 74 68 69 73 20 69 6e 20 | 72 65 73 70 6f 6e 73 65 |this in |response|
|00003950| 20 74 6f 20 61 6e 20 75 | 70 64 61 74 65 20 65 76 | to an u|pdate ev|
|00003960| 65 6e 74 2e 0d 53 65 70 | 61 72 61 74 65 73 20 74 |ent..Sep|arates t|
|00003970| 68 65 20 75 70 64 61 74 | 65 52 67 6e 20 69 6e 74 |he updat|eRgn int|
|00003980| 6f 20 61 20 66 72 61 6d | 65 52 67 6e 20 61 6e 64 |o a fram|eRgn and|
|00003990| 20 61 20 63 6f 6e 74 65 | 6e 74 52 67 6e 2e 0d 49 | a conte|ntRgn..I|
|000039a0| 74 65 72 61 74 65 73 20 | 74 68 72 6f 75 67 68 20 |terates |through |
|000039b0| 74 68 65 20 77 69 6e 64 | 6f 77 73 2c 20 67 69 76 |the wind|ows, giv|
|000039c0| 69 6e 67 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |ing the |document|
|000039d0| 20 61 20 63 68 61 6e 63 | 65 20 74 6f 20 73 65 74 | a chanc|e to set|
|000039e0| 20 74 68 65 20 63 75 72 | 73 6f 72 2e 0d 43 61 6c | the cur|sor..Cal|
|000039f0| 6c 73 20 64 6f 63 75 6d | 65 6e 74 d5 20 77 72 69 |ls docum|ent. wri|
|00003a00| 74 65 20 64 6f 63 75 6d | 65 6e 74 20 70 72 6f 63 |te docum|ent proc|
|00003a10| 65 64 75 72 65 2e 0d 43 | 61 6c 6c 73 20 64 6f 63 |edure..C|alls doc|
|00003a20| 75 6d 65 6e 74 d5 73 20 | 77 72 69 74 65 2d 68 65 |ument.s |write-he|
|00003a30| 61 64 65 72 20 70 72 6f | 63 65 64 75 72 65 2e 0d |ader pro|cedure..|
|00003a40| 41 70 70 73 54 6f 47 6f | 20 73 6d 61 72 74 20 7a |AppsToGo| smart z|
|00003a50| 6f 6f 6d 2e 0d 53 79 73 | 74 65 6d 20 36 26 37 2d |oom..Sys|tem 6&7-|
|00003a60| 73 61 76 76 79 20 50 6c | 6f 74 43 49 63 6f 6e 20 |savvy Pl|otCIcon |
|00003a70| 63 61 6c 6c 2e 0d 53 79 | 73 74 65 6d 20 36 26 37 |call..Sy|stem 6&7|
|00003a80| 2d 73 61 76 76 79 20 73 | 6d 61 72 74 20 50 6c 6f |-savvy s|mart Plo|
|00003a90| 74 43 49 63 6f 6e 20 63 | 61 6c 6c 2e 0d 53 79 73 |tCIcon c|all..Sys|
|00003aa0| 74 65 6d 20 36 26 37 2d | 73 61 76 76 79 20 61 6c |tem 6&7-|savvy al|
|00003ab0| 74 65 72 6e 61 74 65 20 | 50 6c 6f 74 43 49 63 6f |ternate |PlotCIco|
|00003ac0| 6e 20 63 61 6c 6c 2e 0d | 44 72 61 77 20 61 20 73 |n call..|Draw a s|
|00003ad0| 65 74 20 6f 66 20 63 6f | 6e 74 72 6f 6c 73 2e 0d |et of co|ntrols..|
|00003ae0| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00003af0| 64 6f 77 2e 63 29 2e 20 | 20 43 61 6c 6c 65 64 20 |dow.c). | Called |
|00003b00| 62 79 20 66 72 61 6d 65 | 77 6f 72 6b 20 74 6f 20 |by frame|work to |
|00003b10| 6c 65 74 20 61 70 70 20 | 64 72 61 77 20 66 72 61 |let app |draw fra|
|00003b20| 6d 65 2e 0d 55 73 65 64 | 20 69 6e 73 74 65 61 64 |me..Used| instead|
|00003b30| 20 6f 66 20 45 6e 64 55 | 70 64 61 74 65 20 74 6f | of EndU|pdate to|
|00003b40| 20 62 61 6c 61 6e 63 65 | 20 42 65 67 69 6e 43 6f | balance| BeginCo|
|00003b50| 6e 74 65 6e 74 20 63 61 | 6c 6c 73 2e 0d 55 73 65 |ntent ca|lls..Use|
|00003b60| 64 20 69 6e 73 74 65 61 | 64 20 6f 66 20 45 6e 64 |d instea|d of End|
|00003b70| 55 70 64 61 74 65 20 74 | 6f 20 62 61 6c 61 6e 63 |Update t|o balanc|
|00003b80| 65 20 42 65 67 69 6e 46 | 72 61 6d 65 20 63 61 6c |e BeginF|rame cal|
|00003b90| 6c 73 2e 0d 43 68 65 63 | 6b 73 20 74 6f 20 73 65 |ls..Chec|ks to se|
|00003ba0| 65 20 69 66 20 74 77 6f | 20 62 6c 6f 63 6b 73 20 |e if two| blocks |
|00003bb0| 6f 66 20 64 61 74 61 20 | 61 72 65 20 69 64 65 6e |of data |are iden|
|00003bc0| 74 69 63 61 6c 2e 0d 43 | 68 65 63 6b 73 20 74 6f |tical..C|hecks to|
|00003bd0| 20 73 65 65 20 69 66 20 | 74 77 6f 20 68 61 6e 64 | see if |two hand|
|00003be0| 6c 65 73 20 61 72 65 20 | 69 64 65 6e 74 69 63 61 |les are |identica|
|00003bf0| 6c 2e 0d 43 6f 6d 70 61 | 72 65 20 74 68 65 20 64 |l..Compa|re the d|
|00003c00| 61 74 61 20 61 72 65 61 | 20 6f 66 20 74 77 6f 20 |ata area| of two |
|00003c10| 54 72 65 65 4f 62 6a 20 | 6f 62 6a 65 63 74 73 2e |TreeObj |objects.|
|00003c20| 0d 44 69 73 70 6c 61 79 | 20 61 6e 20 61 6c 65 72 |.Display| an aler|
|00003c30| 74 20 74 68 61 74 20 74 | 65 6c 6c 73 20 74 68 65 |t that t|ells the|
|00003c40| 20 75 73 65 72 20 61 6e | 20 65 72 72 6f 72 20 6f | user an| error o|
|00003c50| 63 63 75 72 72 65 64 2e | 0d 44 69 73 70 6c 61 79 |ccurred.|.Display|
|00003c60| 20 61 6e 20 61 6c 65 72 | 74 20 74 68 61 74 20 74 | an aler|t that t|
|00003c70| 65 6c 6c 73 20 74 68 65 | 20 75 73 65 72 20 61 6e |ells the| user an|
|00003c80| 20 65 72 72 6f 72 20 6f | 63 63 75 72 72 65 64 2e | error o|ccurred.|
|00003c90| 0d 46 69 6e 64 20 74 68 | 65 20 6d 65 6e 75 20 69 |.Find th|e menu i|
|00003ca0| 74 65 6d 20 6e 75 6d 62 | 65 72 2c 20 67 69 76 65 |tem numb|er, give|
|00003cb0| 6e 20 74 68 65 20 74 65 | 78 74 20 6f 66 20 74 68 |n the te|xt of th|
|00003cc0| 65 20 6d 65 6e 75 2e 0d | 46 69 6e 64 53 79 73 46 |e menu..|FindSysF|
|00003cd0| 6f 6c 64 65 72 20 72 65 | 74 75 72 6e 73 20 72 65 |older re|turns re|
|00003ce0| 61 6c 20 76 52 65 66 4e | 75 6d 2c 20 61 6e 64 20 |al vRefN|um, and |
|00003cf0| 74 68 65 20 44 69 72 49 | 44 20 6f 66 20 74 68 65 |the DirI|D of the|
|00003d00| 20 63 75 72 72 65 6e 74 | 20 73 79 73 74 65 6d 20 | current| system |
|00003d10| 66 6f 6c 64 65 72 2e 0d | a5 41 70 70 57 61 6e 6e |folder..|.AppWann|
|00003d20| 61 62 65 20 28 57 69 6e | 64 6f 77 2e 63 29 2e 20 |abe (Win|dow.c). |
|00003d30| 20 43 61 6c 6c 65 64 20 | 62 79 20 66 72 61 6d 65 | Called |by frame|
|00003d40| 77 6f 72 6b 20 74 6f 20 | 6c 65 74 20 61 70 70 20 |work to |let app |
|00003d50| 66 72 65 65 20 75 70 20 | 72 65 6c 61 74 65 64 20 |free up |related |
|00003d60| 6d 65 6d 6f 72 79 2e 0d | a5 41 70 70 57 61 6e 6e |memory..|.AppWann|
|00003d70| 61 62 65 20 28 57 69 6e | 64 6f 77 2e 63 29 2e 20 |abe (Win|dow.c). |
|00003d80| 20 43 61 6c 6c 65 64 20 | 62 79 20 66 72 61 6d 65 | Called |by frame|
|00003d90| 77 6f 72 6b 20 74 6f 20 | 6c 65 74 20 61 70 70 20 |work to |let app |
|00003da0| 66 72 65 65 20 75 70 20 | 72 65 6c 61 74 65 64 20 |free up |related |
|00003db0| 6d 65 6d 6f 72 79 2e 0d | 47 65 74 20 66 72 6f 6e |memory..|Get fron|
|00003dc0| 74 2d 6d 6f 73 74 20 77 | 69 6e 64 6f 77 20 6d 65 |t-most w|indow me|
|00003dd0| 65 74 69 6e 67 20 63 72 | 69 74 65 72 69 61 2e 0d |eting cr|iteria..|
|00003de0| 44 65 74 65 72 6d 69 6e | 65 20 77 68 69 63 68 20 |Determin|e which |
|00003df0| 77 69 6e 64 6f 77 20 69 | 73 20 74 68 65 20 41 70 |window i|s the Ap|
|00003e00| 70 6c 65 45 76 65 6e 74 | 20 74 61 72 67 65 74 20 |pleEvent| target |
|00003e10| 77 69 6e 64 6f 77 2e 0d | 47 65 74 41 70 70 49 6e |window..|GetAppIn|
|00003e20| 64 52 65 73 6f 75 72 63 | 65 20 67 65 74 73 20 61 |dResourc|e gets a|
|00003e30| 20 72 65 73 6f 75 72 63 | 65 20 66 72 6f 6d 20 74 | resourc|e from t|
|00003e40| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 27 73 |he appli|cation's|
|00003e50| 20 72 65 73 20 66 69 6c | 65 20 62 79 20 69 6e 64 | res fil|e by ind|
|00003e60| 65 78 2e 0d 47 65 74 41 | 70 70 49 6e 64 52 65 73 |ex..GetA|ppIndRes|
|00003e70| 6f 75 72 63 65 20 67 65 | 74 73 20 61 20 72 65 73 |ource ge|ts a res|
|00003e80| 6f 75 72 63 65 20 66 72 | 6f 6d 20 74 68 65 20 61 |ource fr|om the a|
|00003e90| 70 70 6c 69 63 61 74 69 | 6f 6e 27 73 20 72 65 73 |pplicati|on's res|
|00003ea0| 20 66 69 6c 65 20 62 79 | 20 6e 61 6d 65 2e 0d 47 | file by| name..G|
|00003eb0| 65 74 41 70 70 49 6e 64 | 52 65 73 6f 75 72 63 65 |etAppInd|Resource|
|00003ec0| 20 67 65 74 73 20 61 20 | 72 65 73 6f 75 72 63 65 | gets a |resource|
|00003ed0| 20 66 72 6f 6d 20 74 68 | 65 20 61 70 70 6c 69 63 | from th|e applic|
|00003ee0| 61 74 69 6f 6e 27 73 20 | 72 65 73 20 66 69 6c 65 |ation's |res file|
|00003ef0| 20 62 79 20 49 44 2e 0d | 43 68 65 63 6b 73 20 66 | by ID..|Checks f|
|00003f00| 6f 72 20 74 68 65 20 70 | 72 65 73 65 6e 63 65 20 |or the p|resence |
|00003f10| 6f 66 20 41 2f 55 58 20 | 62 79 20 77 68 61 74 65 |of A/UX |by whate|
|00003f20| 76 65 72 20 6d 65 61 6e | 73 20 69 73 20 61 70 70 |ver mean|s is app|
|00003f30| 72 6f 70 72 69 61 74 65 | 2e 0d 52 65 74 75 72 6e |ropriate|..Return|
|00003f40| 20 74 68 65 20 62 6f 74 | 74 6f 6d 20 6c 61 79 65 | the bot|tom laye|
|00003f50| 72 20 69 6e 20 74 68 65 | 20 68 69 65 72 61 72 63 |r in the| hierarc|
|00003f60| 68 79 2e 0d 52 65 74 75 | 72 6e 73 20 77 68 69 63 |hy..Retu|rns whic|
|00003f70| 68 20 6b 69 6e 64 20 6f | 66 20 62 75 74 74 6f 6e |h kind o|f button|
|00003f80| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 69 73 2e | the con|trol is.|
|00003f90| 0d 47 69 76 65 6e 20 61 | 6e 20 6f 66 66 73 65 74 |.Given a|n offset|
|00003fa0| 20 69 6e 20 74 68 65 20 | 6f 62 6a 65 63 74 27 73 | in the |object's|
|00003fb0| 20 64 61 74 61 2c 20 67 | 65 74 20 74 68 65 20 30 | data, g|et the 0|
|00003fc0| 2d 74 65 72 6d 69 6e 61 | 74 65 64 20 64 61 74 61 |-termina|ted data|
|00003fd0| 2e 0d 43 65 6e 74 65 72 | 20 74 68 65 20 77 69 6e |..Center| the win|
|00003fe0| 64 6f 77 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |dow on t|he same |
|00003ff0| 64 65 76 69 63 65 20 61 | 73 20 74 68 65 20 72 65 |device a|s the re|
|00004000| 6c 61 74 65 64 20 77 69 | 6e 64 6f 77 2e 0d 52 65 |lated wi|ndow..Re|
|00004010| 74 75 72 6e 20 63 68 65 | 63 6b 42 6f 78 20 76 61 |turn che|ckBox va|
|00004020| 6c 75 65 73 2c 20 65 6e | 2d 6d 61 73 73 65 2e 0d |lues, en|-masse..|
|00004030| 52 65 74 75 72 6e 20 74 | 72 75 65 20 69 66 20 64 |Return t|rue if d|
|00004040| 69 61 6c 6f 67 20 69 74 | 65 6d 20 69 73 20 61 20 |ialog it|em is a |
|00004050| 63 68 65 63 6b 20 62 6f | 78 20 6f 72 20 72 61 64 |check bo|x or rad|
|00004060| 69 6f 20 62 75 74 74 6f | 6e 2e 0d 47 69 76 65 6e |io butto|n..Given|
|00004070| 20 61 20 70 61 72 65 6e | 74 20 68 61 6e 64 6c 65 | a paren|t handle|
|00004080| 20 61 6e 64 20 61 20 63 | 68 69 6c 64 20 6e 75 6d | and a c|hild num|
|00004090| 62 65 72 2c 20 74 68 69 | 73 20 72 65 74 75 72 6e |ber, thi|s return|
|000040a0| 73 20 74 68 65 20 63 68 | 69 6c 64 20 68 61 6e 64 |s the ch|ild hand|
|000040b0| 6c 65 2e 0d 52 65 74 75 | 72 6e 20 61 20 70 6f 69 |le..Retu|rn a poi|
|000040c0| 6e 74 65 72 20 69 6e 74 | 6f 20 74 68 65 20 63 68 |nter int|o the ch|
|000040d0| 69 6c 64 20 68 61 6e 64 | 6c 65 20 74 61 62 6c 65 |ild hand|le table|
|000040e0| 2e 0d 47 69 76 65 6e 20 | 61 20 63 68 69 6c 64 20 |..Given |a child |
|000040f0| 68 61 6e 64 6c 65 2c 20 | 72 65 74 75 72 6e 20 70 |handle, |return p|
|00004100| 6f 73 73 74 69 6f 6e 20 | 6f 66 20 69 74 20 69 6e |osstion |of it in|
|00004110| 20 74 68 65 20 70 61 72 | 65 6e 74 27 73 20 63 68 | the par|ent's ch|
|00004120| 69 6c 64 20 68 61 6e 64 | 6c 65 20 74 61 62 6c 65 |ild hand|le table|
|00004130| 2e 0d 52 65 74 75 72 6e | 20 74 68 65 20 6f 72 69 |..Return| the ori|
|00004140| 67 69 6e 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 65 |gin of t|he conte|
|00004150| 6e 74 20 6f 66 20 74 68 | 65 20 77 69 6e 64 6f 77 |nt of th|e window|
|00004160| 2e 0d 47 65 74 20 62 6f | 75 6e 64 69 6e 67 20 72 |..Get bo|unding r|
|00004170| 65 63 74 20 6f 66 20 74 | 68 65 20 63 6f 6e 74 65 |ect of t|he conte|
|00004180| 6e 74 20 61 72 65 61 20 | 6f 66 20 74 68 65 20 77 |nt area |of the w|
|00004190| 69 6e 64 6f 77 2e 0d 47 | 65 74 20 74 68 65 20 63 |indow..G|et the c|
|000041a0| 6f 6e 74 72 6f 6c 27 73 | 20 49 44 20 6f 75 74 20 |ontrol's| ID out |
|000041b0| 6f 66 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 27 73 |of the c|ontrol's|
|000041c0| 20 65 78 74 65 6e 64 65 | 64 20 63 6f 6e 74 72 6f | extende|d contro|
|000041d0| 6c 20 72 65 63 6f 72 64 | 2e 0d 52 65 74 75 72 6e |l record|..Return|
|000041e0| 20 44 61 74 61 20 63 6f | 6e 74 72 6f 6c 20 74 68 | Data co|ntrol th|
|000041f0| 61 74 20 68 61 73 20 72 | 65 66 65 72 65 6e 63 65 |at has r|eference|
|00004200| 20 74 6f 20 61 6c 6c 20 | 63 6f 6e 74 72 6f 6c 73 | to all |controls|
|00004210| 20 69 6e 20 63 6f 6e 74 | 72 6f 6c 20 73 65 74 2e | in cont|rol set.|
|00004220| 0d 47 65 74 20 74 68 65 | 20 65 78 74 65 6e 64 65 |.Get the| extende|
|00004230| 64 20 63 6f 6e 74 72 6f | 6c 20 72 65 63 6f 72 64 |d contro|l record|
|00004240| 20 66 6f 72 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c | for the| control|
|00004250| 2e 0d 47 65 74 20 70 6f | 69 6e 74 65 72 20 69 6e |..Get po|inter in|
|00004260| 74 6f 20 64 61 74 61 20 | 61 72 65 61 20 6f 66 20 |to data |area of |
|00004270| 6f 62 6a 65 63 74 20 66 | 6f 72 20 63 6f 6d 70 6c |object f|or compl|
|00004280| 65 78 20 64 61 74 61 20 | 61 72 65 61 20 64 65 66 |ex data |area def|
|00004290| 69 6e 69 74 69 6f 6e 73 | 2e 0d 52 65 74 75 72 6e |initions|..Return|
|000042a0| 73 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 74 |s a poin|ter to t|
|000042b0| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |he begin|ning of |
|000042c0| 74 68 65 20 6f 62 6a 65 | 63 74 27 73 20 64 61 74 |the obje|ct's dat|
|000042d0| 61 20 61 72 65 61 2e 0d | 46 69 6e 64 20 6f 75 74 |a area..|Find out|
|000042e0| 20 69 66 20 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 | if the |document|
|000042f0| 20 69 73 20 64 69 72 74 | 79 2e 0d 47 65 74 20 74 | is dirt|y..Get t|
|00004300| 68 65 20 65 66 66 65 63 | 74 69 76 65 20 28 6c 6f |he effec|tive (lo|
|00004310| 67 69 63 61 6c 29 20 64 | 65 73 74 69 6e 61 74 69 |gical) d|estinati|
|00004320| 6f 6e 20 72 65 63 74 20 | 66 6f 72 20 74 68 65 20 |on rect |for the |
|00004330| 6c 61 79 65 72 2e 0d 47 | 65 74 20 74 68 65 20 65 |layer..G|et the e|
|00004340| 66 66 65 63 74 69 76 65 | 20 28 6c 6f 67 69 63 61 |ffective| (logica|
|00004350| 6c 29 20 73 6f 75 72 63 | 65 20 72 65 63 74 20 66 |l) sourc|e rect f|
|00004360| 6f 72 20 74 68 65 20 6c | 61 79 65 72 2e 0d 47 65 |or the l|ayer..Ge|
|00004370| 74 20 76 52 65 66 4e 75 | 6d 2c 20 64 69 72 49 44 |t vRefNu|m, dirID|
|00004380| 2c 20 61 6e 64 20 66 69 | 6c 65 4e 61 6d 65 20 6f |, and fi|leName o|
|00004390| 66 20 61 20 66 69 6c 65 | 2e 0d 47 65 74 20 74 68 |f a file|..Get th|
|000043a0| 65 20 66 75 6c 6c 20 70 | 61 74 68 6e 61 6d 65 20 |e full p|athname |
|000043b0| 6f 66 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |of the a|pplicati|
|000043c0| 6f 6e 2e 0d 52 65 74 75 | 72 6e 73 20 74 68 65 20 |on..Retu|rns the |
|000043d0| 72 65 73 75 6c 74 20 76 | 61 6c 75 65 20 66 72 6f |result v|alue fro|
|000043e0| 6d 20 47 65 73 74 61 6c | 74 20 66 6f 72 20 74 68 |m Gestal|t for th|
|000043f0| 65 20 73 70 65 63 69 66 | 69 65 64 20 73 65 6c 65 |e specif|ied sele|
|00004400| 63 74 6f 72 2e 0d 52 65 | 74 75 72 6e 73 20 74 68 |ctor..Re|turns th|
|00004410| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 74 68 |e locati|on of th|
|00004420| 65 20 6d 6f 75 73 65 20 | 69 6e 20 6c 6f 63 61 6c |e mouse |in local|
|00004430| 20 63 6f 6f 72 64 69 6e | 61 74 65 73 2e 0d 52 65 | coordin|ates..Re|
|00004440| 74 75 72 6e 20 74 68 65 | 20 74 6f 70 20 6c 65 66 |turn the| top lef|
|00004450| 74 20 70 6f 69 6e 74 20 | 6f 66 20 74 68 65 20 77 |t point |of the w|
|00004460| 69 6e 64 6f 77 d5 73 20 | 70 6f 72 74 20 69 6e 20 |indow.s |port in |
|00004470| 67 6c 6f 62 61 6c 20 63 | 6f 6f 72 64 69 6e 61 74 |global c|oordinat|
|00004480| 65 73 2e 0d 49 6e 74 65 | 72 6e 61 6c 20 66 75 6e |es..Inte|rnal fun|
|00004490| 63 74 69 6f 6e 20 66 6f | 72 20 72 65 74 75 72 6e |ction fo|r return|
|000044a0| 69 6e 67 20 61 20 68 65 | 78 20 76 61 6c 75 65 20 |ing a he|x value |
|000044b0| 66 72 6f 6d 20 32 20 63 | 68 61 72 61 63 74 65 72 |from 2 c|haracter|
|000044c0| 73 2e 0d 52 65 74 75 72 | 6e 20 74 68 65 20 61 6d |s..Retur|n the am|
|000044d0| 6f 75 6e 74 20 6f 66 20 | 66 72 65 65 20 73 70 61 |ount of |free spa|
|000044e0| 63 65 20 6f 6e 20 74 68 | 65 20 76 6f 6c 75 6d 65 |ce on th|e volume|
|000044f0| 20 69 6e 20 4b 42 79 74 | 65 73 2e 0d 52 65 74 75 | in KByt|es..Retu|
|00004500| 72 6e 73 20 77 68 61 74 | 20 62 61 73 65 20 77 61 |rns what| base wa|
|00004510| 73 20 75 73 65 64 20 77 | 68 65 6e 20 74 65 78 74 |s used w|hen text|
|00004520| 20 69 73 20 63 6f 6e 76 | 65 72 74 65 64 20 74 6f | is conv|erted to|
|00004530| 20 61 20 6e 75 6d 20 61 | 6e 64 20 73 65 74 73 20 | a num a|nd sets |
|00004540| 6d 6f 64 65 2e 0d 52 65 | 74 75 72 6e 20 74 68 65 |mode..Re|turn the|
|00004550| 20 6c 61 79 65 72 20 70 | 6f 73 69 74 69 6f 6e 20 | layer p|osition |
|00004560| 69 6e 20 74 68 65 20 68 | 69 65 72 61 72 63 68 79 |in the h|ierarchy|
|00004570| 2e 0d 52 65 74 75 72 6e | 20 72 65 63 74 20 6f 66 |..Return| rect of|
|00004580| 20 6d 61 69 6e 20 73 63 | 72 65 65 6e 2c 20 69 2e | main sc|reen, i.|
|00004590| 65 2e 2c 20 74 68 65 20 | 73 63 72 65 65 6e 20 77 |e., the |screen w|
|000045a0| 69 74 68 20 74 68 65 20 | 77 69 6e 64 6f 77 20 62 |ith the |window b|
|000045b0| 61 72 2e 0d 47 65 74 20 | 6d 6f 64 69 66 69 63 61 |ar..Get |modifica|
|000045c0| 74 69 6f 6e 20 6e 75 6d | 62 65 72 20 6f 66 20 64 |tion num|ber of d|
|000045d0| 6f 63 75 6d 65 6e 74 2e | 0d 49 74 65 72 61 74 6f |ocument.|.Iterato|
|000045e0| 72 20 74 6f 20 77 61 6c | 6b 20 77 69 6e 64 6f 77 |r to wal|k window|
|000045f0| 20 6c 69 73 74 20 61 6e | 64 20 72 65 74 75 72 6e | list an|d return|
|00004600| 20 74 68 65 20 6e 65 78 | 74 20 64 6f 63 75 6d 65 | the nex|t docume|
|00004610| 6e 74 20 6f 66 20 63 6f | 72 72 65 63 74 20 74 79 |nt of co|rrect ty|
|00004620| 70 65 2e 0d 49 74 65 72 | 61 74 6f 72 20 74 6f 20 |pe..Iter|ator to |
|00004630| 77 61 6c 6b 20 77 69 6e | 64 6f 77 20 6c 69 73 74 |walk win|dow list|
|00004640| 20 61 6e 64 20 72 65 74 | 75 72 6e 20 74 68 65 20 | and ret|urn the |
|00004650| 6e 65 78 74 20 64 6f 63 | 75 6d 65 6e 74 20 77 69 |next doc|ument wi|
|00004660| 6e 64 6f 77 20 6f 66 20 | 63 6f 72 72 65 63 74 20 |ndow of |correct |
|00004670| 74 79 70 65 2e 0d 47 69 | 76 65 6e 20 61 6e 20 6f |type..Gi|ven an o|
|00004680| 66 66 73 65 74 20 69 6e | 20 74 68 65 20 6f 62 6a |ffset in| the obj|
|00004690| 65 63 74 27 73 20 64 61 | 74 61 2c 20 67 65 74 20 |ect's da|ta, get |
|000046a0| 74 68 65 20 70 61 73 63 | 61 6c 20 73 74 72 69 6e |the pasc|al strin|
|000046b0| 67 20 64 61 74 61 2e 0d | 47 69 76 65 6e 20 61 20 |g data..|Given a |
|000046c0| 64 69 61 6c 6f 67 20 61 | 6e 64 20 69 74 73 20 69 |dialog a|nd its i|
|000046d0| 74 65 6d 20 6e 75 6d 62 | 65 72 20 61 6e 64 2c 20 |tem numb|er and, |
|000046e0| 72 65 74 75 72 6e 20 74 | 68 65 20 63 6f 6e 74 72 |return t|he contr|
|000046f0| 6f 6c 20 68 61 6e 64 6c | 65 20 66 6f 72 20 74 68 |ol handl|e for th|
|00004700| 65 20 70 6f 70 75 70 2e | 0d 47 69 76 65 6e 20 61 |e popup.|.Given a|
|00004710| 20 64 69 61 6c 6f 67 20 | 61 6e 64 20 69 74 73 20 | dialog |and its |
|00004720| 69 74 65 6d 20 6e 75 6d | 62 65 72 20 61 6e 64 2c |item num|ber and,|
|00004730| 20 72 65 74 75 72 6e 20 | 74 68 65 20 63 6f 6e 74 | return |the cont|
|00004740| 72 6f 6c 20 68 61 6e 64 | 6c 65 20 66 6f 72 20 74 |rol hand|le for t|
|00004750| 68 65 20 70 6f 70 75 70 | 2e 0d 47 69 76 65 6e 20 |he popup|..Given |
|00004760| 61 20 70 6f 70 75 70 20 | 63 6f 6e 74 72 6f 6c 2c |a popup |control,|
|00004770| 20 72 65 74 75 72 6e 20 | 74 68 65 20 6d 65 6e 75 | return |the menu|
|00004780| 20 68 61 6e 64 6c 65 20 | 66 72 6f 6d 20 74 68 65 | handle |from the|
|00004790| 20 63 6f 6e 74 72 6f 6c | 2e 0d 52 65 74 75 72 6e | control|..Return|
|000047a0| 20 74 68 65 20 77 69 6e | 64 6f 77 20 69 6e 20 66 | the win|dow in f|
|000047b0| 72 6f 6e 74 20 6f 66 20 | 69 6e 64 69 63 61 74 65 |ront of |indicate|
|000047c0| 64 20 77 69 6e 64 6f 77 | 2e 0d 44 65 74 65 72 6d |d window|..Determ|
|000047d0| 69 6e 65 20 77 68 69 63 | 68 20 72 61 64 69 6f 20 |ine whic|h radio |
|000047e0| 62 75 74 74 6f 6e 20 69 | 73 20 73 65 6c 65 63 74 |button i|s select|
|000047f0| 65 64 20 69 6e 20 61 20 | 66 61 6d 69 6c 79 2e 0d |ed in a |family..|
|00004800| 46 69 6e 64 20 74 68 65 | 20 67 72 65 61 74 65 73 |Find the| greates|
|00004810| 74 20 6f 76 65 72 6c 61 | 70 20 64 65 76 69 63 65 |t overla|p device|
|00004820| 20 66 6f 72 20 74 68 65 | 20 67 69 76 65 6e 20 67 | for the| given g|
|00004830| 6c 6f 62 61 6c 20 72 65 | 63 74 61 6e 67 6c 65 2e |lobal re|ctangle.|
|00004840| 0d 46 69 6e 64 20 74 68 | 65 20 72 65 63 74 20 6f |.Find th|e rect o|
|00004850| 66 20 74 68 65 20 67 72 | 65 61 74 65 73 74 20 6f |f the gr|eatest o|
|00004860| 76 65 72 6c 61 70 20 64 | 65 76 69 63 65 20 66 6f |verlap d|evice fo|
|00004870| 72 20 74 68 65 20 67 69 | 76 65 6e 20 67 6c 6f 62 |r the gi|ven glob|
|00004880| 61 6c 20 72 65 63 74 2e | 0d 47 65 74 20 72 65 6d |al rect.|.Get rem|
|00004890| 6f 74 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ote info|rmation |
|000048a0| 66 72 6f 6d 20 74 68 65 | 20 6d 61 63 68 69 6e 65 |from the| machine|
|000048b0| 20 74 68 61 74 20 74 68 | 69 73 20 64 6f 63 75 6d | that th|is docum|
|000048c0| 65 6e 74 20 69 73 20 63 | 6f 6e 6e 65 63 74 65 64 |ent is c|onnected|
|000048d0| 20 74 6f 2e 0d 47 69 76 | 65 6e 20 61 6e 20 6f 62 | to..Giv|en an ob|
|000048e0| 6a 65 63 74 20 68 61 6e | 64 6c 65 2c 20 72 65 74 |ject han|dle, ret|
|000048f0| 75 72 6e 20 74 68 65 20 | 72 6f 6f 74 20 68 61 6e |urn the |root han|
|00004900| 64 6c 65 2e 0d 41 64 64 | 20 28 6f 72 20 72 65 6d |dle..Add| (or rem|
|00004910| 6f 76 65 29 20 77 69 6e | 64 6f 77 2d 66 6f 72 6d |ove) win|dow-form|
|00004920| 61 74 20 72 65 73 6f 75 | 72 63 65 20 64 65 66 69 |at resou|rce defi|
|00004930| 6e 69 74 69 6f 6e 20 74 | 6f 20 67 6c 6f 62 61 6c |nition t|o global|
|00004940| 20 67 57 69 6e 64 6f 77 | 46 6f 72 6d 61 74 73 2e | gWindow|Formats.|
|00004950| 0d 53 74 61 67 67 65 72 | 20 74 68 65 20 77 69 6e |.Stagger| the win|
|00004960| 64 6f 77 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |dow on t|he same |
|00004970| 64 65 76 69 63 65 20 61 | 73 20 74 68 65 20 72 65 |device a|s the re|
|00004980| 6c 61 74 65 64 20 77 69 | 6e 64 6f 77 2e 0d 53 65 |lated wi|ndow..Se|
|00004990| 74 73 20 75 70 20 73 6f | 6d 65 20 67 6c 6f 62 61 |ts up so|me globa|
|000049a0| 6c 20 76 61 72 69 61 62 | 6c 65 73 20 66 6f 72 20 |l variab|les for |
|000049b0| 75 73 65 20 62 79 20 74 | 68 65 20 75 74 69 6c 69 |use by t|he utili|
|000049c0| 74 69 65 73 20 70 61 63 | 6b 61 67 65 20 61 6e 64 |ties pac|kage and|
|000049d0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000049e0| 6e 2e 0d 52 65 74 75 72 | 6e 20 7a 6f 6e 65 2c 20 |n..Retur|n zone, |
|000049f0| 6d 61 63 68 69 6e 65 2c | 20 61 6e 64 20 61 70 70 |machine,| and app|
|00004a00| 6c 69 63 61 74 69 6f 6e | 20 6e 61 6d 65 20 66 6f |lication| name fo|
|00004a10| 72 20 74 61 72 67 65 74 | 44 65 73 63 2e 0d 52 65 |r target|Desc..Re|
|00004a20| 74 75 72 6e 20 74 68 65 | 20 74 6f 70 20 6c 61 79 |turn the| top lay|
|00004a30| 65 72 20 69 6e 20 74 68 | 65 20 68 69 65 72 61 72 |er in th|e hierar|
|00004a40| 63 68 79 2e 0d 52 65 74 | 75 72 6e 73 20 74 68 65 |chy..Ret|urns the|
|00004a50| 20 74 79 70 65 20 28 4f | 53 54 79 70 65 20 6f 72 | type (O|SType or|
|00004a60| 20 54 6f 6f 6c 54 79 70 | 65 29 20 6f 66 20 74 68 | ToolTyp|e) of th|
|00004a70| 65 20 74 72 61 70 2e 0d | 47 69 76 65 6e 20 61 6e |e trap..|Given an|
|00004a80| 20 6f 62 6a 65 63 74 20 | 68 61 6e 64 6c 65 2c 20 | object |handle, |
|00004a90| 72 65 74 75 72 6e 20 74 | 68 65 20 75 6e 64 6f 20 |return t|he undo |
|00004aa0| 68 61 6e 64 6c 65 2e 0d | 52 65 74 75 72 6e 20 74 |handle..|Return t|
|00004ab0| 68 65 20 64 65 70 74 68 | 20 6f 66 20 74 68 65 20 |he depth| of the |
|00004ac0| 75 6e 64 6f 20 73 74 61 | 74 65 2c 20 61 6c 6f 6e |undo sta|te, alon|
|00004ad0| 67 20 77 69 74 68 20 74 | 68 65 20 6e 75 6d 62 65 |g with t|he numbe|
|00004ae0| 72 20 6f 66 20 75 6e 64 | 6f 73 2e 0d 47 69 76 65 |r of und|os..Give|
|00004af0| 6e 20 74 68 65 20 6f 6c | 64 20 73 69 7a 65 2c 20 |n the ol|d size, |
|00004b00| 74 68 69 73 20 72 65 74 | 75 72 6e 73 20 74 68 65 |this ret|urns the|
|00004b10| 20 64 69 66 66 65 72 65 | 6e 63 65 20 62 65 74 77 | differe|nce betw|
|00004b20| 65 65 6e 20 74 68 65 20 | 6f 6c 64 20 73 69 7a 65 |een the |old size|
|00004b30| 20 61 6e 64 20 74 68 65 | 20 6e 65 77 20 73 69 7a | and the| new siz|
|00004b40| 65 2e 0d 47 65 74 20 74 | 68 65 20 67 6c 6f 62 61 |e..Get t|he globa|
|00004b50| 6c 20 72 65 63 74 61 6e | 67 6c 65 20 74 68 61 74 |l rectan|gle that|
|00004b60| 20 65 6e 63 6c 6f 73 65 | 73 20 74 68 65 20 63 6f | enclose|s the co|
|00004b70| 6e 74 65 6e 74 20 61 72 | 65 61 20 6f 66 20 74 68 |ntent ar|ea of th|
|00004b80| 65 20 77 69 6e 64 6f 77 | 2e 0d 43 6f 75 6e 74 73 |e window|..Counts|
|00004b90| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 77 | the num|ber of w|
|00004ba0| 69 6e 64 6f 77 73 20 69 | 6e 20 74 68 65 20 61 70 |indows i|n the ap|
|00004bb0| 70 6c 69 63 61 74 69 6f | 6e 20 70 6c 61 6e 65 2e |plicatio|n plane.|
|00004bc0| 0d 46 69 6e 64 20 74 68 | 65 20 67 72 65 61 74 65 |.Find th|e greate|
|00004bd0| 73 74 20 6f 76 65 72 6c | 61 70 20 64 65 76 69 63 |st overl|ap devic|
|00004be0| 65 20 66 6f 72 20 74 68 | 65 20 67 69 76 65 6e 20 |e for th|e given |
|00004bf0| 77 69 6e 64 6f 77 2e 0d | 46 69 6e 64 20 64 65 76 |window..|Find dev|
|00004c00| 69 63 65 20 74 68 61 74 | 20 63 6f 6e 74 61 69 6e |ice that| contain|
|00004c10| 73 20 6d 6f 73 74 20 6f | 66 20 74 68 65 20 77 69 |s most o|f the wi|
|00004c20| 6e 64 6f 77 20 61 6e 64 | 20 72 65 74 75 72 6e 20 |ndow and| return |
|00004c30| 64 65 76 69 63 65 27 73 | 20 62 6f 75 6e 64 69 6e |device's| boundin|
|00004c40| 67 20 72 65 63 74 61 6e | 67 6c 65 2e 0d 42 6f 75 |g rectan|gle..Bou|
|00004c50| 6e 64 69 6e 67 20 72 65 | 63 74 20 6f 66 20 64 65 |nding re|ct of de|
|00004c60| 76 69 63 65 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |vice con|taining |
|00004c70| 6d 6f 73 74 20 6f 66 20 | 74 68 65 20 77 69 6e 64 |most of |the wind|
|00004c80| 6f 77 2c 20 6c 65 73 73 | 20 6d 65 6e 75 20 62 61 |ow, less| menu ba|
|00004c90| 72 2e 0d 46 69 6e 64 20 | 6f 75 74 20 69 66 20 61 |r..Find |out if a|
|00004ca0| 20 77 69 6e 64 6f 77 d5 | 73 20 64 6f 63 75 6d 65 | window.|s docume|
|00004cb0| 6e 74 20 69 73 20 64 69 | 72 74 79 2e 0d 52 65 61 |nt is di|rty..Rea|
|00004cc0| 64 20 69 6e 20 61 6e 64 | 20 75 6e 66 6c 61 74 74 |d in and| unflatt|
|00004cd0| 65 6e 20 72 65 73 6f 75 | 72 63 65 20 27 57 46 4d |en resou|rce 'WFM|
|00004ce0| 54 27 20 23 31 32 38 2e | 0d 47 65 74 20 74 68 65 |T' #128.|.Get the|
|00004cf0| 20 72 65 63 74 61 6e 67 | 6c 65 20 74 68 61 74 20 | rectang|le that |
|00004d00| 73 75 72 72 6f 75 6e 64 | 73 20 74 68 65 20 65 6e |surround|s the en|
|00004d10| 74 69 72 65 20 73 74 72 | 75 63 74 75 72 65 20 6f |tire str|ucture o|
|00004d20| 66 20 61 20 77 69 6e 64 | 6f 77 2e 0d 43 6f 6e 76 |f a wind|ow..Conv|
|00004d30| 65 72 74 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 72 |ert the |global r|
|00004d40| 65 63 74 20 74 6f 20 6c | 6f 63 61 6c 20 63 6f 6f |ect to l|ocal coo|
|00004d50| 72 64 69 6e 61 74 65 73 | 2c 20 62 61 73 65 64 20 |rdinates|, based |
|00004d60| 6f 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 67 |on the c|urrent g|
|00004d70| 72 61 66 50 6f 72 74 2e | 0d 50 75 74 20 75 70 20 |rafPort.|.Put up |
|00004d80| 61 6e 20 61 6c 65 72 74 | 2c 20 61 6e 64 20 61 6c |an alert|, and al|
|00004d90| 73 6f 20 6d 61 6b 65 20 | 73 75 72 65 20 74 68 61 |so make |sure tha|
|00004da0| 74 20 68 69 6c 69 74 69 | 6e 67 20 6f 66 20 6f 74 |t hiliti|ng of ot|
|00004db0| 68 65 72 20 77 69 6e 64 | 6f 77 73 20 69 73 20 63 |her wind|ows is c|
|00004dc0| 6f 72 72 65 63 74 2e 0d | 48 69 64 65 20 61 20 76 |orrect..|Hide a v|
|00004dd0| 69 73 69 62 6c 65 20 41 | 70 70 73 54 6f 47 6f 20 |isible A|ppsToGo |
|00004de0| 73 74 79 6c 65 64 20 63 | 6f 6e 74 72 6f 6c 2e 0d |styled c|ontrol..|
|00004df0| 48 69 6c 69 74 65 20 63 | 75 72 72 65 6e 74 20 7a |Hilite c|urrent z|
|00004e00| 6f 6e 65 20 69 6e 20 7a | 6f 6e 65 20 6c 69 73 74 |one in z|one list|
|00004e10| 2e 0d 4d 61 6b 65 73 20 | 73 75 72 65 20 74 68 61 |..Makes |sure tha|
|00004e20| 74 20 74 68 65 20 68 69 | 6c 69 74 69 6e 67 20 6f |t the hi|liting o|
|00004e30| 66 20 77 69 6e 64 6f 77 | 73 20 69 73 20 63 6f 72 |f window|s is cor|
|00004e40| 72 65 63 74 2e 0d 43 6f | 6e 76 65 72 74 20 61 20 |rect..Co|nvert a |
|00004e50| 68 61 6e 64 6c 65 20 72 | 65 66 65 72 65 6e 63 65 |handle r|eference|
|00004e60| 20 69 6e 74 6f 20 61 20 | 74 72 65 65 49 44 20 72 | into a |treeID r|
|00004e70| 65 66 65 72 65 6e 63 65 | 2e 0d 52 65 63 75 72 73 |eference|..Recurs|
|00004e80| 69 76 65 6c 79 20 64 69 | 73 73 65 63 74 73 20 74 |ively di|ssects t|
|00004e90| 68 65 20 68 61 6e 64 6c | 65 20 69 6e 74 6f 20 73 |he handl|e into s|
|00004ea0| 65 70 61 72 61 74 65 20 | 74 72 65 65 20 6f 62 6a |eparate |tree obj|
|00004eb0| 65 63 74 73 2e 0d 55 6e | 66 6c 61 74 74 65 6e 20 |ects..Un|flatten |
|00004ec0| 61 20 68 69 65 72 61 72 | 63 68 79 20 74 68 61 74 |a hierar|chy that|
|00004ed0| 20 69 73 20 66 6c 61 74 | 74 65 6e 65 64 20 69 6e | is flat|tened in|
|00004ee0| 20 74 68 65 20 68 61 6e | 64 6c 65 20 22 74 72 65 | the han|dle "tre|
|00004ef0| 65 22 2e 0d 47 65 74 20 | 74 68 65 20 6f 62 6a 65 |e"..Get |the obje|
|00004f00| 63 74 20 64 61 74 61 20 | 66 72 6f 6d 20 74 68 65 |ct data |from the|
|00004f10| 20 73 74 72 65 61 6d 2e | 0d 55 6e 66 6c 61 74 74 | stream.|.Unflatt|
|00004f20| 65 6e 73 20 61 20 77 69 | 6e 64 6f 77 2d 66 6f 72 |ens a wi|ndow-for|
|00004f30| 6d 61 74 20 68 61 6e 64 | 6c 65 20 69 6e 74 6f 20 |mat hand|le into |
|00004f40| 73 65 70 61 72 61 74 65 | 20 68 69 65 72 61 72 63 |separate| hierarc|
|00004f50| 68 69 63 61 6c 20 64 6f | 63 75 6d 65 6e 74 20 6f |hical do|cument o|
|00004f60| 62 6a 65 63 74 73 2e 0d | 53 74 72 65 61 6d 20 74 |bjects..|Stream t|
|00004f70| 68 65 20 68 69 65 72 61 | 72 63 68 79 20 6f 6e 74 |he hiera|rchy ont|
|00004f80| 6f 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |o the en|d of the|
|00004f90| 20 68 61 6e 64 6c 65 2e | 0d 41 70 70 65 6e 64 20 | handle.|.Append |
|00004fa0| 64 61 74 61 20 69 6e 20 | 6f 62 6a 65 63 74 20 6f |data in |object o|
|00004fb0| 6e 74 6f 20 65 6e 64 20 | 6f 66 20 68 61 6e 64 6c |nto end |of handl|
|00004fc0| 65 20 72 65 63 65 69 76 | 69 6e 67 20 73 74 72 65 |e receiv|ing stre|
|00004fd0| 61 6d 65 64 20 68 69 65 | 72 61 72 63 68 79 2e 0d |amed hie|rarchy..|
|00004fe0| 52 65 74 75 72 6e 20 61 | 6e 20 6f 62 6a 65 63 74 |Return a|n object|
|00004ff0| 20 68 61 6e 64 6c 65 2c | 20 67 69 76 65 6e 20 61 | handle,| given a|
|00005000| 20 74 72 65 65 20 6f 62 | 6a 65 63 74 20 49 44 20 | tree ob|ject ID |
|00005010| 61 6e 64 20 72 65 66 65 | 72 65 6e 63 65 20 6f 62 |and refe|rence ob|
|00005020| 6a 65 63 74 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |ject...A|ppWannab|
|00005030| 65 20 28 57 69 6e 64 6f | 77 2e 63 29 2e 20 20 43 |e (Windo|w.c). C|
|00005040| 61 6c 6c 65 64 20 62 79 | 20 66 72 61 6d 65 77 6f |alled by| framewo|
|00005050| 72 6b 20 73 6f 20 61 70 | 70 20 63 61 6e 20 64 72 |rk so ap|p can dr|
|00005060| 61 77 20 6f 72 20 70 72 | 69 6e 74 20 64 6f 63 2e |aw or pr|int doc.|
|00005070| 0d 49 6e 69 74 69 61 6c | 69 7a 65 73 20 74 68 65 |.Initial|izes the|
|00005080| 20 63 6f 6e 6e 65 63 74 | 20 41 70 70 73 54 6f 47 | connect| AppsToG|
|00005090| 6f 20 41 70 70 6c 65 45 | 76 65 6e 74 73 20 73 75 |o AppleE|vents su|
|000050a0| 70 70 6f 72 74 2e 0d a5 | 41 70 70 57 61 6e 6e 61 |pport...|AppWanna|
|000050b0| 62 65 20 28 57 69 6e 64 | 6f 77 2e 63 29 2e 20 20 |be (Wind|ow.c). |
|000050c0| 43 61 6c 6c 65 64 20 62 | 79 20 66 72 61 6d 65 77 |Called b|y framew|
|000050d0| 6f 72 6b 20 73 6f 20 61 | 70 70 20 63 61 6e 20 64 |ork so a|pp can d|
|000050e0| 6f 20 6d 6f 72 65 20 77 | 69 6e 64 6f 77 20 69 6e |o more w|indow in|
|000050f0| 69 74 2e 0d a5 41 70 70 | 57 61 6e 6e 61 62 65 20 |it...App|Wannabe |
|00005100| 28 46 69 6c 65 2e 63 29 | 2e 20 20 43 61 6c 6c 65 |(File.c)|. Calle|
|00005110| 64 20 62 79 20 66 72 61 | 6d 65 77 6f 72 6b 20 74 |d by fra|mework t|
|00005120| 6f 20 69 6e 73 74 61 6e | 74 69 61 74 65 20 64 6f |o instan|tiate do|
|00005130| 63 20 68 61 6e 64 6c 65 | 20 28 66 72 48 6e 64 6c |c handle| (frHndl|
|00005140| 29 2e 0d a5 41 70 70 57 | 61 6e 6e 61 62 65 20 28 |)...AppW|annabe (|
|00005150| 46 69 6c 65 2e 63 29 2e | 20 20 43 61 6c 6c 65 64 |File.c).| Called|
|00005160| 20 62 79 20 66 72 61 6d | 65 77 6f 72 6b 20 74 6f | by fram|ework to|
|00005170| 20 67 65 74 20 73 69 7a | 65 20 6f 66 20 64 6f 63 | get siz|e of doc|
|00005180| 20 68 61 6e 64 6c 65 20 | 74 6f 20 63 72 65 61 74 | handle |to creat|
|00005190| 65 2e 0d 41 70 70 73 54 | 6f 47 6f 20 74 6f 6f 6c |e..AppsT|oGo tool|
|000051a0| 62 6f 78 2f 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |box/appl|ication |
|000051b0| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 2e 0d |initiali|zation..|
|000051c0| 47 65 6e 65 72 69 63 61 | 6c 6c 79 20 69 6e 69 74 |Generica|lly init|
|000051d0| 69 61 6c 69 7a 65 73 20 | 51 75 69 63 6b 54 69 6d |ializes |QuickTim|
|000051e0| 65 2e 0d 49 6e 69 74 69 | 61 6c 69 7a 65 73 20 41 |e..Initi|alizes A|
|000051f0| 70 70 6c 65 45 76 65 6e | 74 20 64 69 73 70 61 74 |ppleEven|t dispat|
|00005200| 63 68 65 72 20 66 6f 72 | 20 74 68 65 20 72 65 71 |cher for| the req|
|00005210| 75 69 72 65 64 20 41 70 | 70 6c 65 45 76 65 6e 74 |uired Ap|pleEvent|
|00005220| 73 2e 0d 49 6e 69 74 69 | 61 6c 69 7a 65 20 74 68 |s..Initi|alize th|
|00005230| 65 20 74 6f 6f 6c 62 6f | 78 20 69 6e 20 74 68 65 |e toolbo|x in the|
|00005240| 20 d2 73 74 61 6e 64 61 | 72 64 d3 20 77 61 79 20 | .standa|rd. way |
|00005250| 66 6f 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |for appl|ications|
|00005260| 2e 0d 49 6e 73 74 61 6c | 6c 20 41 70 70 73 54 6f |..Instal|l AppsTo|
|00005270| 47 6f 20 63 75 73 74 6f | 6d 20 41 70 70 6c 65 45 |Go custo|m AppleE|
|00005280| 76 65 6e 74 73 20 66 6f | 72 20 65 64 69 74 69 6e |vents fo|r editin|
|00005290| 67 20 72 75 6e 6e 69 6e | 67 20 61 70 70 6c 69 63 |g runnin|g applic|
|000052a0| 61 74 69 6f 6e 73 2e 0d | 41 64 64 73 20 61 6e 20 |ations..|Adds an |
|000052b0| 65 78 69 73 74 69 6e 67 | 20 63 68 69 6c 64 20 74 |existing| child t|
|000052c0| 6f 20 61 20 70 61 72 65 | 6e 74 27 73 20 63 68 69 |o a pare|nt's chi|
|000052d0| 6c 64 20 68 61 6e 64 6c | 65 20 74 61 62 6c 65 2e |ld handl|e table.|
|000052e0| 0d 4c 6f 6f 6b 20 74 68 | 72 6f 75 67 68 20 74 68 |.Look th|rough th|
|000052f0| 65 20 6d 65 6e 75 20 69 | 74 65 6d 73 20 66 6f 72 |e menu i|tems for|
|00005300| 20 68 69 65 72 61 72 63 | 68 69 63 61 6c 20 72 65 | hierarc|hical re|
|00005310| 66 65 72 65 6e 63 65 73 | 20 61 6e 64 20 68 61 6e |ferences| and han|
|00005320| 64 6c 65 20 74 68 65 6d | 2e 0d 49 6e 73 65 72 74 |dle them|..Insert|
|00005330| 20 61 20 6c 61 79 65 72 | 20 69 6e 74 6f 20 61 20 | a layer| into a |
|00005340| 68 69 65 72 61 72 63 68 | 79 2e 0d 49 6e 76 61 6c |hierarch|y..Inval|
|00005350| 69 64 61 74 65 20 61 20 | 72 65 63 74 61 6e 67 6c |idate a |rectangl|
|00005360| 65 2d 77 6f 72 74 68 20 | 6f 66 20 74 68 65 20 6c |e-worth |of the l|
|00005370| 61 79 65 72 2e 0d 52 65 | 74 75 72 6e 20 74 72 75 |ayer..Re|turn tru|
|00005380| 65 20 69 66 20 74 68 65 | 20 77 69 6e 64 6f 77 4b |e if the| windowK|
|00005390| 69 6e 64 20 6f 66 20 74 | 68 65 20 77 69 6e 64 6f |ind of t|he windo|
|000053a0| 77 20 69 73 20 67 72 65 | 61 74 65 72 20 74 68 61 |w is gre|ater tha|
|000053b0| 6e 20 6f 72 20 65 71 75 | 61 6c 20 74 6f 20 75 73 |n or equ|al to us|
|000053c0| 65 72 4b 69 6e 64 2e 0d | 43 68 65 63 6b 20 69 66 |erKind..|Check if|
|000053d0| 20 74 68 65 20 63 6f 6e | 74 72 6f 6c 20 69 73 20 | the con|trol is |
|000053e0| 61 20 27 63 69 63 6e 27 | 20 63 6f 6e 74 72 6f 6c |a 'cicn'| control|
|000053f0| 2e 0d 4c 65 74 20 61 20 | 63 6f 6e 74 72 6f 6c 20 |..Let a |control |
|00005400| 68 61 6e 64 6c 65 20 74 | 68 65 20 65 76 65 6e 74 |handle t|he event|
|00005410| 2e 0d 52 65 74 75 72 6e | 20 74 72 75 65 20 69 66 |..Return| true if|
|00005420| 20 74 68 65 20 77 69 6e | 64 6f 77 4b 69 6e 64 20 | the win|dowKind |
|00005430| 6f 66 20 74 68 65 20 77 | 69 6e 64 6f 77 20 69 73 |of the w|indow is|
|00005440| 20 6c 65 73 73 20 74 68 | 61 6e 20 7a 65 72 6f 2e | less th|an zero.|
|00005450| 0d 43 68 65 63 6b 20 69 | 66 20 74 68 65 20 63 6f |.Check i|f the co|
|00005460| 6e 74 72 6f 6c 20 69 73 | 20 61 20 27 50 49 43 54 |ntrol is| a 'PICT|
|00005470| 27 20 63 6f 6e 74 72 6f | 6c 2e 0d 52 65 74 75 72 |' contro|l..Retur|
|00005480| 6e 20 74 72 75 65 20 69 | 66 20 74 68 65 20 63 6f |n true i|f the co|
|00005490| 6e 74 72 6f 6c 20 69 73 | 20 61 20 73 63 72 6f 6c |ntrol is| a scrol|
|000054a0| 6c 62 61 72 2e 0d 43 68 | 65 63 6b 20 69 66 20 74 |lbar..Ch|eck if t|
|000054b0| 68 65 20 63 6f 6e 74 72 | 6f 6c 20 69 73 20 61 20 |he contr|ol is a |
|000054c0| 54 65 78 74 45 64 69 74 | 20 63 6f 6e 74 72 6f 6c |TextEdit| control|
|000054d0| 2e 0d 41 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |..Allows| you to |
|000054e0| 61 73 73 69 67 6e 20 6b | 65 79 20 65 71 75 69 76 |assign k|ey equiv|
|000054f0| 61 6c 65 6e 74 73 20 74 | 6f 20 64 69 61 6c 6f 67 |alents t|o dialog|
|00005500| 20 69 74 65 6d 73 2e 0d | 53 79 73 74 65 6d 20 36 | items..|System 6|
|00005510| 26 37 2d 73 61 76 76 79 | 20 44 69 73 70 6f 73 65 |&7-savvy| Dispose|
|00005520| 43 49 63 6f 6e 20 63 61 | 6c 6c 2e 0d 41 75 74 6f |CIcon ca|ll..Auto|
|00005530| 2d 6c 61 75 6e 63 68 20 | 70 72 65 2d 72 65 63 6f |-launch |pre-reco|
|00005540| 72 64 65 64 20 72 65 6d | 6f 74 65 20 61 70 70 6c |rded rem|ote appl|
|00005550| 69 63 61 74 69 6f 6e 2e | 0d 53 61 6d 65 20 61 73 |ication.|.Same as|
|00005560| 20 53 63 72 65 65 6e 44 | 65 70 74 68 52 65 67 69 | ScreenD|epthRegi|
|00005570| 6f 6e 2c 20 65 78 63 65 | 70 74 20 74 68 61 74 20 |on, exce|pt that |
|00005580| 69 74 20 6c 6f 63 61 6c | 69 7a 65 73 20 74 68 65 |it local|izes the|
|00005590| 20 72 65 67 69 6f 6e 2e | 0d 43 6f 6e 76 65 72 74 | region.|.Convert|
|000055a0| 20 74 68 65 20 6c 6f 63 | 61 6c 20 72 65 63 74 20 | the loc|al rect |
|000055b0| 74 6f 20 67 6c 6f 62 61 | 6c 20 63 6f 6f 72 64 69 |to globa|l coordi|
|000055c0| 6e 61 74 65 73 2c 20 62 | 61 73 65 64 20 6f 6e 20 |nates, b|ased on |
|000055d0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 67 72 61 66 |the curr|ent graf|
|000055e0| 50 6f 72 74 2e 0d 44 6f | 65 73 20 61 20 4d 6f 76 |Port..Do|es a Mov|
|000055f0| 65 48 48 69 20 6f 6e 20 | 74 68 65 20 68 61 6e 64 |eHHi on |the hand|
|00005600| 6c 65 20 61 6e 64 20 74 | 68 65 6e 20 6c 6f 63 6b |le and t|hen lock|
|00005610| 73 20 69 74 2e 0d 4c 6f | 63 6b 20 64 6f 77 6e 20 |s it..Lo|ck down |
|00005620| 74 68 65 20 70 69 78 65 | 6c 73 20 66 6f 72 20 61 |the pixe|ls for a|
|00005630| 20 6c 61 79 65 72 27 73 | 20 47 57 6f 72 6c 64 2e | layer's| GWorld.|
|00005640| 0d 43 72 65 61 74 65 20 | 61 20 63 6f 6e 74 72 6f |.Create |a contro|
|00005650| 6c 20 62 61 73 65 64 20 | 6f 6e 20 74 68 65 20 63 |l based |on the c|
|00005660| 6f 6e 74 72 6f 6c 20 64 | 65 66 69 6e 69 74 69 6f |ontrol d|efinitio|
|00005670| 6e 20 6f 62 6a 65 63 74 | 2e 0d 50 50 43 42 72 6f |n object|..PPCBro|
|00005680| 77 73 65 72 20 69 6e 74 | 65 72 66 61 63 65 20 74 |wser int|erface t|
|00005690| 6f 20 62 75 69 6c 64 20 | 61 20 74 61 72 67 65 74 |o build |a target|
|000056a0| 20 64 65 73 63 72 69 70 | 74 6f 72 2e 0d 43 6f 6e | descrip|tor..Con|
|000056b0| 76 65 72 74 20 68 61 72 | 64 20 6d 65 6e 75 49 74 |vert har|d menuIt|
|000056c0| 65 6d 20 49 44 20 74 6f | 20 61 20 73 6f 66 74 20 |em ID to| a soft |
|000056d0| 49 44 2e 0d 52 65 74 75 | 72 6e 73 20 74 72 75 65 |ID..Retu|rns true|
|000056e0| 20 69 66 20 6e 6f 74 20 | 61 20 41 45 20 70 61 72 | if not |a AE par|
|000056f0| 6d 73 20 77 65 72 65 20 | 75 73 65 64 2e 0d 53 61 |ms were |used..Sa|
|00005700| 76 65 73 20 61 20 63 6f | 70 79 20 6f 66 20 74 68 |ves a co|py of th|
|00005710| 65 20 63 68 69 6c 64 20 | 69 6e 20 74 68 65 20 75 |e child |in the u|
|00005720| 6e 64 6f 20 68 69 65 72 | 61 72 63 68 79 20 66 6f |ndo hier|archy fo|
|00005730| 72 20 75 6e 64 6f 2f 72 | 65 64 6f 20 70 75 72 70 |r undo/r|edo purp|
|00005740| 6f 73 65 73 2e 0d 4d 6f | 76 65 73 20 61 20 63 68 |oses..Mo|ves a ch|
|00005750| 69 6c 64 20 66 72 6f 6d | 20 6f 6e 65 20 6c 6f 63 |ild from| one loc|
|00005760| 61 74 69 6f 6e 20 6f 6e | 20 74 68 65 20 74 72 65 |ation on| the tre|
|00005770| 65 20 74 6f 20 61 6e 6f | 74 68 65 72 2e 0d 4d 6f |e to ano|ther..Mo|
|00005780| 76 65 20 61 6e 20 41 70 | 70 73 54 6f 47 6f 20 73 |ve an Ap|psToGo s|
|00005790| 74 79 6c 65 64 20 63 6f | 6e 74 72 6f 6c 2e 0d 43 |tyled co|ntrol..C|
|000057a0| 72 65 61 74 65 73 20 61 | 20 63 68 69 6c 64 20 6f |reates a| child o|
|000057b0| 66 20 73 70 65 63 69 66 | 69 65 64 20 74 79 70 65 |f specif|ied type|
|000057c0| 20 61 6e 64 20 61 64 64 | 73 20 69 74 20 74 6f 20 | and add|s it to |
|000057d0| 70 61 72 65 6e 74 20 61 | 74 20 73 70 65 63 69 66 |parent a|t specif|
|000057e0| 69 65 64 20 6c 6f 63 61 | 74 69 6f 6e 2e 0d 43 72 |ied loca|tion..Cr|
|000057f0| 65 61 74 65 20 6e 65 77 | 20 41 70 70 73 54 6f 47 |eate new| AppsToG|
|00005800| 6f 20 64 6f 63 75 6d 65 | 6e 74 2e 0d 43 61 6c 6c |o docume|nt..Call|
|00005810| 73 20 4e 65 77 44 6f 63 | 75 6d 65 6e 74 2c 20 61 |s NewDoc|ument, a|
|00005820| 6e 64 20 69 66 20 73 75 | 63 63 65 73 73 66 75 6c |nd if su|ccessful|
|00005830| 2c 20 44 6f 4e 65 77 57 | 69 6e 64 6f 77 2e 0d 43 |, DoNewW|indow..C|
|00005840| 72 65 61 74 65 20 61 20 | 6c 61 79 65 72 20 6f 62 |reate a |layer ob|
|00005850| 6a 65 63 74 20 66 6f 72 | 20 6f 66 66 73 63 72 65 |ject for| offscre|
|00005860| 65 6e 20 64 72 61 77 69 | 6e 67 2e 0d 43 72 65 61 |en drawi|ng..Crea|
|00005870| 74 65 20 61 20 72 6f 6f | 74 20 6f 62 6a 65 63 74 |te a roo|t object|
|00005880| 2c 20 69 2e 65 2e 2c 20 | 6f 6e 65 20 74 68 61 74 |, i.e., |one that|
|00005890| 20 68 61 73 20 6e 6f 20 | 70 61 72 65 6e 74 20 6f | has no |parent o|
|000058a0| 62 6a 65 63 74 2e 0d 43 | 6c 6f 73 65 20 61 6e 20 |bject..C|lose an |
|000058b0| 6f 6c 64 20 75 6e 64 6f | 20 74 61 73 6b 2c 20 69 |old undo| task, i|
|000058c0| 6e 20 70 72 65 70 61 72 | 61 74 69 6f 6e 20 66 6f |n prepar|ation fo|
|000058d0| 72 20 61 20 6e 65 77 20 | 6f 6e 65 2e 0d 43 68 61 |r a new |one..Cha|
|000058e0| 6e 67 65 20 74 68 65 20 | 77 69 6e 64 6f 77 2f 64 |nge the |window/d|
|000058f0| 6f 63 75 6d 65 6e 74 20 | 74 69 74 6c 65 2e 0d 43 |ocument |title..C|
|00005900| 61 6e 63 65 6c 73 20 61 | 20 6e 6f 74 69 66 69 63 |ancels a| notific|
|00005910| 61 74 69 6f 6e 20 67 65 | 6e 65 72 61 74 65 64 20 |ation ge|nerated |
|00005920| 62 79 20 4e 6f 74 69 66 | 79 55 73 65 72 2e 0d 43 |by Notif|yUser..C|
|00005930| 72 65 61 74 65 73 20 61 | 20 64 65 66 61 75 6c 74 |reates a| default|
|00005940| 20 6e 6f 74 69 66 69 63 | 61 74 69 6f 6e 2e 20 20 | notific|ation. |
|00005950| 43 61 6c 6c 20 4e 6f 74 | 69 66 79 43 61 6e 63 65 |Call Not|ifyCance|
|00005960| 6c 20 74 6f 20 75 6e 64 | 6f 2e 0d 44 65 74 65 72 |l to und|o..Deter|
|00005970| 6d 69 6e 65 73 20 74 68 | 65 20 73 69 7a 65 20 6f |mines th|e size o|
|00005980| 66 20 74 68 65 20 54 6f | 6f 6c 20 74 72 61 70 20 |f the To|ol trap |
|00005990| 74 61 62 6c 65 2e 0d 43 | 6f 6e 76 65 6e 69 65 6e |table..C|onvenien|
|000059a0| 74 20 77 61 79 20 74 6f | 20 6d 6f 76 65 20 61 20 |t way to| move a |
|000059b0| 63 6f 6e 74 72 6f 6c 20 | 61 20 73 70 65 63 69 66 |control |a specif|
|000059c0| 69 65 64 20 61 6d 6f 75 | 6e 74 2e 0d 4f 70 65 6e |ied amou|nt..Open|
|000059d0| 20 61 6e 20 41 70 70 73 | 54 6f 47 6f 20 64 6f 63 | an Apps|ToGo doc|
|000059e0| 75 6d 65 6e 74 2e 0d 43 | 61 6c 6c 73 20 4f 70 65 |ument..C|alls Ope|
|000059f0| 6e 44 6f 63 75 6d 65 6e | 74 2c 20 61 6e 64 20 69 |nDocumen|t, and i|
|00005a00| 66 20 73 75 63 63 65 73 | 73 66 75 6c 2c 20 44 6f |f succes|sful, Do|
|00005a10| 4e 65 77 57 69 6e 64 6f | 77 2e 0d 4f 70 65 6e 20 |NewWindo|w..Open |
|00005a20| 61 6c 6c 20 77 69 6e 64 | 6f 77 73 20 74 68 61 74 |all wind|ows that|
|00005a30| 20 61 72 65 20 63 6f 72 | 72 65 63 74 6c 79 20 64 | are cor|rectly d|
|00005a40| 65 73 69 67 6e 61 74 65 | 64 20 77 69 74 68 20 41 |esignate|d with A|
|00005a50| 70 70 73 54 6f 47 6f 20 | 61 70 70 6c 69 63 61 74 |ppsToGo |applicat|
|00005a60| 69 6f 6e 20 65 64 69 74 | 6f 72 2e 0d 44 72 61 77 |ion edit|or..Draw|
|00005a70| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 69 6e 64 | the def|ault ind|
|00005a80| 69 63 61 74 6f 72 20 61 | 72 6f 75 6e 64 20 74 68 |icator a|round th|
|00005a90| 65 20 63 6f 6e 74 72 6f | 6c 2e 0d 44 72 61 77 20 |e contro|l..Draw |
|00005aa0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 69 6e 64 69 |the defa|ult indi|
|00005ab0| 63 61 74 6f 72 20 61 72 | 6f 75 6e 64 20 74 68 65 |cator ar|ound the|
|00005ac0| 20 64 69 61 6c 6f 67 20 | 69 74 65 6d 2e 0d 43 6f | dialog |item..Co|
|00005ad0| 6e 76 65 72 74 20 61 20 | 70 61 73 63 61 6c 2d 73 |nvert a |pascal-s|
|00005ae0| 74 72 69 6e 67 20 74 6f | 20 61 20 63 2d 73 74 72 |tring to| a c-str|
|00005af0| 69 6e 67 2e 0d 43 6f 6e | 76 65 72 74 20 74 68 65 |ing..Con|vert the|
|00005b00| 20 70 61 73 63 61 6c 2d | 73 74 72 69 6e 67 20 74 | pascal-|string t|
|00005b10| 6f 20 61 20 64 65 63 69 | 6d 61 6c 20 6e 75 6d 62 |o a deci|mal numb|
|00005b20| 65 72 2e 0d 43 6f 6e 76 | 65 72 74 20 74 68 65 20 |er..Conv|ert the |
|00005b30| 70 61 73 63 61 6c 2d 73 | 74 72 69 6e 67 20 74 6f |pascal-s|tring to|
|00005b40| 20 61 20 68 65 78 20 6e | 75 6d 62 65 72 2e 0d 43 | a hex n|umber..C|
|00005b50| 6f 6e 76 65 72 74 20 74 | 68 65 20 70 61 73 63 61 |onvert t|he pasca|
|00005b60| 6c 2d 73 74 72 69 6e 67 | 20 74 6f 20 61 20 6e 75 |l-string| to a nu|
|00005b70| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 64 65 73 69 |mber of |the desi|
|00005b80| 67 6e 61 74 65 64 20 62 | 61 73 65 2e 0d a5 41 70 |gnated b|ase...Ap|
|00005b90| 70 57 61 6e 6e 61 62 65 | 20 28 57 69 6e 64 6f 77 |pWannabe| (Window|
|00005ba0| 50 61 6c 65 74 74 65 2e | 63 29 2e 20 20 53 61 6d |Palette.|c). Sam|
|00005bb0| 65 20 61 73 20 43 61 6c | 63 46 72 61 6d 65 52 67 |e as Cal|cFrameRg|
|00005bc0| 6e 2c 20 62 75 74 20 66 | 6f 72 20 70 61 6c 65 74 |n, but f|or palet|
|00005bd0| 74 65 73 2e 0d a5 41 70 | 70 57 61 6e 6e 61 62 65 |tes...Ap|pWannabe|
|00005be0| 20 28 57 69 6e 64 6f 77 | 50 61 6c 65 74 74 65 2e | (Window|Palette.|
|00005bf0| 63 29 2e 20 20 53 61 6d | 65 20 61 73 20 43 6f 6e |c). Sam|e as Con|
|00005c00| 74 65 6e 74 43 6c 69 63 | 6b 2c 20 62 75 74 20 66 |tentClic|k, but f|
|00005c10| 6f 72 20 70 61 6c 65 74 | 74 65 73 2e 0d a5 41 70 |or palet|tes...Ap|
|00005c20| 70 57 61 6e 6e 61 62 65 | 20 28 57 69 6e 64 6f 77 |pWannabe| (Window|
|00005c30| 50 61 6c 65 74 74 65 2e | 63 29 2e 20 20 53 61 6d |Palette.|c). Sam|
|00005c40| 65 20 61 73 20 43 6f 6e | 74 65 6e 74 4b 65 79 2c |e as Con|tentKey,|
|00005c50| 20 62 75 74 20 66 6f 72 | 20 70 61 6c 65 74 74 65 | but for| palette|
|00005c60| 73 2e 0d a5 41 70 70 57 | 61 6e 6e 61 62 65 20 28 |s...AppW|annabe (|
|00005c70| 57 69 6e 64 6f 77 50 61 | 6c 65 74 74 65 2e 63 29 |WindowPa|lette.c)|
|00005c80| 2e 20 20 53 61 6d 65 20 | 61 73 20 44 72 61 77 46 |. Same |as DrawF|
|00005c90| 72 61 6d 65 2c 20 62 75 | 74 20 66 6f 72 20 70 61 |rame, bu|t for pa|
|00005ca0| 6c 65 74 74 65 73 2e 0d | a5 41 70 70 57 61 6e 6e |lettes..|.AppWann|
|00005cb0| 61 62 65 20 28 57 69 6e | 64 6f 77 50 61 6c 65 74 |abe (Win|dowPalet|
|00005cc0| 74 65 2e 63 29 2e 20 20 | 53 61 6d 65 20 61 73 20 |te.c). |Same as |
|00005cd0| 46 72 65 65 44 6f 63 75 | 6d 65 6e 74 2c 20 62 75 |FreeDocu|ment, bu|
|00005ce0| 74 20 66 6f 72 20 70 61 | 6c 65 74 74 65 73 2e 0d |t for pa|lettes..|
|00005cf0| a5 41 70 70 57 61 6e 6e | 61 62 65 20 28 57 69 6e |.AppWann|abe (Win|
|00005d00| 64 6f 77 50 61 6c 65 74 | 74 65 2e 63 29 2e 20 20 |dowPalet|te.c). |
|00005d10| 53 61 6d 65 20 61 73 20 | 46 72 65 65 57 69 6e 64 |Same as |FreeWind|
|00005d20| 6f 77 2c 20 62 75 74 20 | 66 6f 72 20 70 61 6c 65 |ow, but |for pale|
|00005d30| 74 74 65 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |ttes...A|ppWannab|
|00005d40| 65 20 28 57 69 6e 64 6f | 77 50 61 6c 65 74 74 65 |e (Windo|wPalette|
|00005d50| 2e 63 29 2e 20 20 53 61 | 6d 65 20 61 73 20 49 6d |.c). Sa|me as Im|
|00005d60| 61 67 65 44 6f 63 75 6d | 65 6e 74 2c 20 62 75 74 |ageDocum|ent, but|
|00005d70| 20 66 6f 72 20 70 61 6c | 65 74 74 65 73 2e 0d a5 | for pal|ettes...|
|00005d80| 41 70 70 57 61 6e 6e 61 | 62 65 20 28 57 69 6e 64 |AppWanna|be (Wind|
|00005d90| 6f 77 50 61 6c 65 74 74 | 65 2e 63 29 2e 20 20 53 |owPalett|e.c). S|
|00005da0| 61 6d 65 20 61 73 20 49 | 6e 69 74 43 6f 6e 74 65 |ame as I|nitConte|
|00005db0| 6e 74 2c 20 62 75 74 20 | 66 6f 72 20 70 61 6c 65 |nt, but |for pale|
|00005dc0| 74 74 65 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |ttes...A|ppWannab|
|00005dd0| 65 20 28 57 69 6e 64 6f | 77 50 61 6c 65 74 74 65 |e (Windo|wPalette|
|00005de0| 2e 63 29 2e 20 20 53 61 | 6d 65 20 61 73 20 52 65 |.c). Sa|me as Re|
|00005df0| 73 69 7a 65 43 6f 6e 74 | 65 6e 74 2c 20 62 75 74 |sizeCont|ent, but|
|00005e00| 20 66 6f 72 20 70 61 6c | 65 74 74 65 73 2e 0d a5 | for pal|ettes...|
|00005e10| 41 70 70 57 61 6e 6e 61 | 62 65 20 28 57 69 6e 64 |AppWanna|be (Wind|
|00005e20| 6f 77 50 61 6c 65 74 74 | 65 2e 63 29 2e 20 20 53 |owPalett|e.c). S|
|00005e30| 61 6d 65 20 61 73 20 53 | 63 72 6f 6c 6c 46 72 61 |ame as S|crollFra|
|00005e40| 6d 65 2c 20 62 75 74 20 | 66 6f 72 20 70 61 6c 65 |me, but |for pale|
|00005e50| 74 74 65 73 2e 0d a5 41 | 70 70 57 61 6e 6e 61 62 |ttes...A|ppWannab|
|00005e60| 65 20 28 57 69 6e 64 6f | 77 50 61 6c 65 74 74 65 |e (Windo|wPalette|
|00005e70| 2e 63 29 2e 20 20 53 61 | 6d 65 20 61 73 20 55 6e |.c). Sa|me as Un|
|00005e80| 64 6f 46 69 78 75 70 2c | 20 62 75 74 20 66 6f 72 |doFixup,| but for|
|00005e90| 20 70 61 6c 65 74 74 65 | 73 2e 0d a5 41 70 70 57 | palette|s...AppW|
|00005ea0| 61 6e 6e 61 62 65 20 28 | 57 69 6e 64 6f 77 50 61 |annabe (|WindowPa|
|00005eb0| 6c 65 74 74 65 2e 63 29 | 2e 20 20 53 61 6d 65 20 |lette.c)|. Same |
|00005ec0| 61 73 20 57 69 6e 64 6f | 77 43 75 72 73 6f 72 2c |as Windo|wCursor,|
|00005ed0| 20 62 75 74 20 66 6f 72 | 20 70 61 6c 65 74 74 65 | but for| palette|
|00005ee0| 73 2e 0d a5 41 70 70 57 | 61 6e 6e 61 62 65 20 28 |s...AppW|annabe (|
|00005ef0| 57 69 6e 64 6f 77 50 61 | 6c 65 74 74 65 2e 63 29 |WindowPa|lette.c)|
|00005f00| 2e 20 20 53 61 6d 65 20 | 61 73 20 57 69 6e 64 6f |. Same |as Windo|
|00005f10| 77 47 6f 6e 65 46 69 78 | 75 70 2c 20 62 75 74 20 |wGoneFix|up, but |
|00005f20| 66 6f 72 20 70 61 6c 65 | 74 74 65 73 2e 0d 49 6d |for pale|ttes..Im|
|00005f30| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |plementa|tion of |
|00005f40| 74 65 63 68 20 6e 6f 74 | 65 20 23 32 33 38 2e 0d |tech not|e #238..|
|00005f50| 43 61 74 65 6e 61 74 65 | 20 74 77 6f 20 70 61 73 |Catenate| two pas|
|00005f60| 63 61 6c 2d 73 74 72 69 | 6e 67 73 2e 0d 43 61 74 |cal-stri|ngs..Cat|
|00005f70| 65 6e 61 74 65 20 61 20 | 73 69 6e 67 6c 65 20 63 |enate a |single c|
|00005f80| 68 61 72 61 63 74 65 72 | 20 6d 75 6c 74 69 70 6c |haracter| multipl|
|00005f90| 65 20 74 69 6d 65 73 20 | 6f 6e 74 6f 20 74 68 65 |e times |onto the|
|00005fa0| 20 64 65 73 69 67 6e 61 | 74 65 64 20 73 74 72 69 | designa|ted stri|
|00005fb0| 6e 67 2e 0d 43 6f 6e 76 | 65 72 74 20 76 61 6c 75 |ng..Conv|ert valu|
|00005fc0| 65 20 69 6e 74 6f 20 62 | 61 73 65 2d 31 30 20 74 |e into b|ase-10 t|
|00005fd0| 65 78 74 20 61 6e 64 20 | 63 61 74 65 6e 61 74 65 |ext and |catenate|
|00005fe0| 20 69 74 20 6f 6e 74 6f | 20 74 68 65 20 73 74 72 | it onto| the str|
|00005ff0| 69 6e 67 2e 0d 43 6f 6e | 76 65 72 74 20 76 61 6c |ing..Con|vert val|
|00006000| 75 65 20 69 6e 74 6f 20 | 62 61 73 65 2d 31 36 20 |ue into |base-16 |
|00006010| 74 65 78 74 20 61 6e 64 | 20 63 61 74 65 6e 61 74 |text and| catenat|
|00006020| 65 20 69 74 20 6f 6e 74 | 6f 20 74 68 65 20 73 74 |e it ont|o the st|
|00006030| 72 69 6e 67 2c 20 77 69 | 74 68 20 6e 6f 20 70 61 |ring, wi|th no pa|
|00006040| 64 64 69 6e 67 2e 0d 43 | 6f 6e 76 65 72 74 20 76 |dding..C|onvert v|
|00006050| 61 6c 75 65 20 69 6e 74 | 6f 20 64 65 73 69 67 6e |alue int|o design|
|00006060| 61 74 65 64 20 74 65 78 | 74 20 61 6e 64 20 63 61 |ated tex|t and ca|
|00006070| 74 65 6e 61 74 65 20 69 | 74 20 6f 6e 74 6f 20 74 |tenate i|t onto t|
|00006080| 68 65 20 73 74 72 69 6e | 67 2c 20 77 69 74 68 20 |he strin|g, with |
|00006090| 6e 6f 20 70 61 64 64 69 | 6e 67 2e 0d 43 6f 6e 76 |no paddi|ng..Conv|
|000060a0| 65 72 74 20 76 61 6c 75 | 65 20 69 6e 74 6f 20 62 |ert valu|e into b|
|000060b0| 61 73 65 2d 31 30 20 74 | 65 78 74 20 61 6e 64 20 |ase-10 t|ext and |
|000060c0| 63 61 74 65 6e 61 74 65 | 20 69 74 20 6f 6e 74 6f |catenate| it onto|
|000060d0| 20 74 68 65 20 73 74 72 | 69 6e 67 2c 20 77 69 74 | the str|ing, wit|
|000060e0| 68 20 70 61 64 64 69 6e | 67 2e 0d 43 6f 6e 76 65 |h paddin|g..Conve|
|000060f0| 72 74 20 76 61 6c 75 65 | 20 69 6e 74 6f 20 62 61 |rt value| into ba|
|00006100| 73 65 2d 31 36 20 74 65 | 78 74 20 61 6e 64 20 63 |se-16 te|xt and c|
|00006110| 61 74 65 6e 61 74 65 20 | 69 74 20 6f 6e 74 6f 20 |atenate |it onto |
|00006120| 74 68 65 20 73 74 72 69 | 6e 67 2c 20 77 69 74 68 |the stri|ng, with|
|00006130| 20 70 61 64 64 69 6e 67 | 2e 0d 43 6f 6e 76 65 72 | padding|..Conver|
|00006140| 74 20 76 61 6c 75 65 20 | 69 6e 74 6f 20 64 65 73 |t value |into des|
|00006150| 69 67 6e 61 74 65 64 20 | 62 61 73 65 20 74 65 78 |ignated |base tex|
|00006160| 74 20 61 6e 64 20 63 61 | 74 65 6e 61 74 65 20 69 |t and ca|tenate i|
|00006170| 74 20 6f 6e 74 6f 20 74 | 68 65 20 73 74 72 69 6e |t onto t|he strin|
|00006180| 67 2c 20 77 69 74 68 20 | 70 61 64 64 69 6e 67 2e |g, with |padding.|
|00006190| 0d 43 6f 6d 70 61 72 65 | 20 74 77 6f 20 70 61 73 |.Compare| two pas|
|000061a0| 63 61 6c 2d 73 74 72 69 | 6e 67 73 2e 0d 43 6f 70 |cal-stri|ngs..Cop|
|000061b0| 79 20 61 20 70 61 73 63 | 61 6c 2d 73 74 72 69 6e |y a pasc|al-strin|
|000061c0| 67 2e 0d 43 6f 70 79 20 | 61 20 73 69 6e 67 6c 65 |g..Copy |a single|
|000061d0| 20 63 68 61 72 61 63 74 | 65 72 20 6d 75 6c 74 69 | charact|er multi|
|000061e0| 70 6c 65 20 74 69 6d 65 | 73 20 69 6e 74 6f 20 74 |ple time|s into t|
|000061f0| 68 65 20 64 65 73 69 67 | 6e 61 74 65 64 20 73 74 |he desig|nated st|
|00006200| 72 69 6e 67 2e 0d 43 6f | 6e 76 65 72 74 20 76 61 |ring..Co|nvert va|
|00006210| 6c 75 65 20 69 6e 74 6f | 20 62 61 73 65 2d 31 30 |lue into| base-10|
|00006220| 20 74 65 78 74 20 61 6e | 64 20 63 6f 70 79 20 69 | text an|d copy i|
|00006230| 74 20 69 6e 74 6f 20 74 | 68 65 20 73 74 72 69 6e |t into t|he strin|
|00006240| 67 2e 0d 43 6f 6e 76 65 | 72 74 20 76 61 6c 75 65 |g..Conve|rt value|
|00006250| 20 69 6e 74 6f 20 62 61 | 73 65 2d 31 36 20 74 65 | into ba|se-16 te|
|00006260| 78 74 20 61 6e 64 20 63 | 6f 70 79 20 69 74 20 69 |xt and c|opy it i|
|00006270| 6e 74 6f 20 74 68 65 20 | 73 74 72 69 6e 67 2c 20 |nto the |string, |
|00006280| 77 69 74 68 20 6e 6f 20 | 70 61 64 64 69 6e 67 2e |with no |padding.|
|00006290| 0d 43 6f 6e 76 65 72 74 | 20 76 61 6c 75 65 20 69 |.Convert| value i|
|000062a0| 6e 74 6f 20 64 65 73 69 | 67 6e 61 74 65 64 20 74 |nto desi|gnated t|
|000062b0| 65 78 74 20 61 6e 64 20 | 63 6f 70 79 20 69 74 20 |ext and |copy it |
|000062c0| 69 6e 74 6f 20 74 68 65 | 20 73 74 72 69 6e 67 2c |into the| string,|
|000062d0| 20 77 69 74 68 20 6e 6f | 20 70 61 64 64 69 6e 67 | with no| padding|
|000062e0| 2e 0d 43 6f 6e 76 65 72 | 74 20 76 61 6c 75 65 20 |..Conver|t value |
|000062f0| 69 6e 74 6f 20 62 61 73 | 65 2d 31 30 20 74 65 78 |into bas|e-10 tex|
|00006300| 74 20 61 6e 64 20 63 6f | 70 79 20 69 74 20 69 6e |t and co|py it in|
|00006310| 74 6f 20 74 68 65 20 73 | 74 72 69 6e 67 2c 20 77 |to the s|tring, w|
|00006320| 69 74 68 20 70 61 64 64 | 69 6e 67 2e 0d 43 6f 6e |ith padd|ing..Con|
|00006330| 76 65 72 74 20 76 61 6c | 75 65 20 69 6e 74 6f 20 |vert val|ue into |
|00006340| 62 61 73 65 2d 31 36 20 | 74 65 78 74 20 61 6e 64 |base-16 |text and|
|00006350| 20 63 6f 70 79 20 69 74 | 20 69 6e 74 6f 20 74 68 | copy it| into th|
|00006360| 65 20 73 74 72 69 6e 67 | 2c 20 77 69 74 68 20 70 |e string|, with p|
|00006370| 61 64 64 69 6e 67 2e 0d | 43 6f 6e 76 65 72 74 20 |adding..|Convert |
|00006380| 76 61 6c 75 65 20 69 6e | 74 6f 20 64 65 73 69 67 |value in|to desig|
|00006390| 6e 61 74 65 64 20 62 61 | 73 65 20 74 65 78 74 20 |nated ba|se text |
|000063a0| 61 6e 64 20 63 6f 70 79 | 20 69 74 20 69 6e 74 6f |and copy| it into|
|000063b0| 20 74 68 65 20 73 74 72 | 69 6e 67 2c 20 77 69 74 | the str|ing, wit|
|000063c0| 68 20 70 61 64 64 69 6e | 67 2e 0d 47 65 74 20 61 |h paddin|g..Get a|
|000063d0| 6e 20 46 53 53 70 65 63 | 20 74 6f 20 70 65 72 73 |n FSSpec| to pers|
|000063e0| 69 73 74 20 77 68 65 6e | 20 73 61 76 65 64 20 74 |ist when| saved t|
|000063f0| 6f 20 64 69 73 6b 2e 0d | 50 6f 73 69 74 69 6f 6e |o disk..|Position|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.